Vick Khera vivek at khera.org
Wed Oct 21 09:11:51 PDT 2009
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 :-(


More information about the Slony1-general mailing list