Re: plgpsql and transactions

From: Bill Moseley <moseley(at)hank(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: plgpsql and transactions
Date: 2006-04-06 19:27:08
Message-ID: 20060406192707.GC9347@hank.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Apr 06, 2006 at 01:44:57PM -0500, Terry Lee Tucker wrote:
> Triggers fire inside a transaction.

Ah, thanks. Makes sense since each statement is in an implicit
transaction.

Granted, would help to see the trigger, but
these are basically the same?

-- fires a trigger that updates more than one table
insert into semething (default);

and:

begin;
-- fires a trigger that updates more than one table
insert into somthing (default);
commit;

--
Bill Moseley
moseley(at)hank(dot)org

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message samfisch@googlemail.com 2006-04-06 19:27:12 recovering from a --clean dump
Previous Message Douglas McNaught 2006-04-06 19:21:02 Re: Backup method