Re: Just Make Sure - Mailing list pgsql-admin

From Oliver Elphick
Subject Re: Just Make Sure
Date
Msg-id 1043850061.1756.22.camel@linda.lfix.co.uk
Whole thread Raw
In response to Just Make Sure  ("Yudha Setiawan" <yudha@BonBon.net>)
List pgsql-admin
On Wed, 2003-01-29 at 09:20, Yudha Setiawan wrote:
> Dear Master;
> So There's no way to put the Begin Work, Commit Work or Rollback
> inside Trigger's Function...????
> Some Explanation will be better :b

No.

All triggers happen within a transaction, whether explicit or implicit
and transactions cannot be nested.

In addition, BEGIN has a different meaning in PL/pgSQL.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "My son, if sinners entice thee, consent thou not."
                            Proverbs 1:10


pgsql-admin by date:

Previous
From: "Yudha Setiawan"
Date:
Subject: Just Make Sure
Next
From: "Robert M. Meyer"
Date:
Subject: What filesystem works best for PostgreSQL?