On Wed, Oct 21, 2009 at 11:25 AM, Christopher Browne <[email protected]> wrote: > And I need to think about that a little further; "DROP FUNCTION IF EXISTS" > wasn't introduced until, I believe, PostgreSQL 8.2. (It's not in 8.1.) > > So that strategy won't work for 1.2 :-(.
can you wrap it inside a SAVEPOINT, and then rollback to the savepoint if it fails? not sure how you'd do that in a simple SQL script, though :-( _______________________________________________ Slony1-general mailing list [email protected] http://lists.slony.info/mailman/listinfo/slony1-general
