From: Oliver Elphick <olly@lfix.co.uk>
To: Yudha Setiawan <yudha@BonBon.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Just Make Sure
Date: 29 Jan 2003 14:21:02 +0000
Message-ID: <1043850061.1756.22.camel@linda.lfix.co.uk> (raw)
In-Reply-To: <017201c2c777$b47cf940$ea00a8c0@yudha>
References: <017201c2c777$b47cf940$ea00a8c0@yudha>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: olly@lfix.co.uk, yudha@BonBon.net
Subject: Re: Just Make Sure
In-Reply-To: <1043850061.1756.22.camel@linda.lfix.co.uk>
References: <017201c2c777$b47cf940$ea00a8c0@yudha> <1043850061.1756.22.camel@linda.lfix.co.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox