pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Josi Perez (3T Systems) <josiperez3t@gmail.com>
Cc: pgsql-admin@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: trigger AFTER INSERT
Date: Mon, 16 Aug 2010 11:39:27 -0500
Message-ID: <4C69236F020000250003469A@gw.wicourts.gov> (raw)
In-Reply-To: <AANLkTimHqdW07smfqh4QG+6DEOBToqd_kFADPwNgq+0R@mail.gmail.com>
References: <AANLkTinpHpBZQ09BHXhsUoJCwsw4up=yC=n=zJshavnm@mail.gmail.com>
	<14276.1281625226@sss.pgh.pa.us>
	<AANLkTimHqdW07smfqh4QG+6DEOBToqd_kFADPwNgq+0R@mail.gmail.com>

"Josi Perez (3T Systems)" <josiperez3t@gmail.com> wrote:
 
> Without considering the errors, the transaction should not start
> after the AFTER INSERT?
 
Anything happening in a trigger is always part of the same database
transaction as the database action which fired the trigger.
 
-Kevin



view thread (4+ messages)

Message-ID: <4C69236F020000250003469A@gw.wicourts.gov>
Permalink:  ../4C69236F020000250003469A@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4C69236F020000250003469A@gw.wicourts.gov

 · 

reply

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: Kevin.Grittner@wicourts.gov, josiperez3t@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: trigger AFTER INSERT
  In-Reply-To: <4C69236F020000250003469A@gw.wicourts.gov>
  References: <AANLkTinpHpBZQ09BHXhsUoJCwsw4up=yC=n=zJshavnm@mail.gmail.com> <14276.1281625226@sss.pgh.pa.us> <AANLkTimHqdW07smfqh4QG+6DEOBToqd_kFADPwNgq+0R@mail.gmail.com> <4C69236F020000250003469A@gw.wicourts.gov>

* 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