Wed Oct 21 09:11:51 PDT 2009
- Previous message: [Slony1-general] PGRES_FATAL_ERROR ERROR: cannot change return type of existing function
- Next message: [Slony1-general] PGRES_FATAL_ERROR ERROR: cannot change return type of existing function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Oct 21, 2009 at 11:25 AM, Christopher Browne <cbbrowne at ca.afilias.info> 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 :-(
- Previous message: [Slony1-general] PGRES_FATAL_ERROR ERROR: cannot change return type of existing function
- Next message: [Slony1-general] PGRES_FATAL_ERROR ERROR: cannot change return type of existing function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list