<p><br>
On Nov 12, 2011 1:54 PM, &quot;Guillaume Lelarge&quot; &lt;<a href="mailto:guillaume@lelarge.info">guillaume@lelarge.info</a>&gt; wrote:<br>
&gt;<br>
&gt; On Wed, 2011-11-09 at 18:14 -0500, Christopher Browne wrote:<br>
&gt; &gt; [...]<br>
&gt; &gt; Does anyone feel strongly about this?  If not, then my inclination is<br>
&gt; &gt; to have just two behaviours:<br>
&gt; &gt;   a) Run the script on ALL nodes, as a default behaviour<br>
&gt; &gt;   b) Run on a specified list of nodes, e.g. - EXECUTE ONLY ON=&#39;2,3,4&#39;<br>
&gt; &gt;<br>
&gt;<br>
&gt; I don&#39;t feel strongly about it, but I guess having a and b are enough. c<br>
&gt; may be hard to code, will be cumbersome, and for no real value.</p>
<p>I&#39;m most keenly concerned about the &quot;cumbersome&quot; part, actually.  That would establish c) as a clear anti-feature.</p>
<p>But that&#39;s assuming clumsiness.</p>
<p>Let&#39;s consider (loosely, I&#39;m not consulting docs to make this up)</p>
<p>Execute script (event node=5, script=&#39;/tmp/Foo.slonik&#39;, only on sets =&#39;1,4&#39;);</p>
<p>Or<br>
.... only on set=1);</p>
<p>That&#39;s neither necessarily *huge* implementation effort nor horribly clumsy.</p>
<p>Zero additional effort has its merits, but that&#39;s not enough to rule out the couple ideas above.</p>
<p>I suppose I&#39;m &quot;against&quot; c) more out of not wanting to add more options for people to puzzle through than are necessary.</p>
<p>On reflection, there&#39;s some complication to log shipping tests, but I don&#39;t think that depends on whether c) gets added or not.  Rather, we need a test to validate that log shipping gets the DDL iff the node feeding log shipping was on the executor list.  No real logic difference whether that node was:<br>

I. Subscribing to the set (c), or<br>
II. In the &quot;execute only on&quot; node list. </p>
<p>That&#39;s not an argument pro or con, rather a &quot;let&#39;s not forget needful testing&quot; aside. <br></p>
<p>&gt; &gt; Though I&#39;m ready to argue &quot;but if you don&#39;t know what your set of<br>
&gt; &gt; nodes are, I think you&#39;re in deep, deep trouble...&quot;<br>
&gt;<br>
&gt; Exactly my thought.</p>
<p>So I&#39;m not crazy, always good to know!  :-)</p>
<p>Glad to get feedback, thanks!<br>
</p>