murphy pope pope_murphy
Thu Mar 3 01:00:15 PST 2005
(apologies in advance if this has already been discussed and
dismissed...)

Since every slonik script must start with a "cluster" command and a
series of node definitions, I'd like to store those definitions in a
single file and then talk slonik into "including" that file when I run
another script.  

I can think of three ways to do that:

1) Add an include(  'filename' ) mechanism to the slonik grammar
2) Add a command-line option that tells slonik to read a named file
before executing the main script(s)
3) Make slonik read a ~/.slonikrc file 

Solution 1 seems the best choice to me.  

Would such a patch be welcome?


     ++ Murphy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gborg.postgresql.org/pipermail/slony1-general/attachments/20050303/f84f491e/attachment.html


More information about the Slony1-general mailing list