Richard Yen dba at richyen.com
Wed Jun 17 15:32:24 PDT 2009
Hi All,

Seems like slony_dropobj.sh expects *both* a table and a sequence to  
drop, or else, it'll print out an empty try{} block, which (at least  
on my bash shell) complains about a syntax error.

I'd like to propose a patch:

128,130d127
< if [ x"$DROPTABLES" = "x" ]; then
<     DROPTABLES="echo 'no tables specified'"
< fi
154,156d150
< if [ x"$DROPSEQ" = "x" ]; then
<     DROPSEQ="echo 'no sequences specified'"
< fi

(basically, right after the two outer for() loops)

--Richard


More information about the Slony1-general mailing list