Wed Jun 17 16:46:52 PDT 2009
- Previous message: [Slony1-general] Bug in slony-ctl when trying to drop table
- Next message: [Slony1-general] Issue with configuring Slony-I on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----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-----
- Previous message: [Slony1-general] Bug in slony-ctl when trying to drop table
- Next message: [Slony1-general] Issue with configuring Slony-I on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list