-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Yen a écrit :
> 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)
>
Yes, you're right.
Thanks for the report. I've commited modification to HEAD.
Best regards,
- --
Stéphane Schildknecht
PostgreSQLFr - http://www.postgresql.fr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKOYBcA+REPKWGI0ERAqraAKCZBnzKRzHDixxCcEhyREJ0NeESOQCgtY1X
6vxsK63+J9InHqqkPBe0RQs=
=jeh8
-----END PGP SIGNATURE-----
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general