Re: Transaction IDs not the same in same transaction?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve V <dndlists(at)gmail(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: Transaction IDs not the same in same transaction?
Date: 2005-10-23 15:40:48
Message-ID: 16568.1130082048@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve V <dndlists(at)gmail(dot)com> writes:
> Well it doesn't explicitly do it, so the only thing I could think of
> is that it has something to do with the pltcl spi_exec calls?

Ah, you had not even mentioned that the trigger was in pltcl.
spi_exec runs everything in subtransactions as of 8.0, so that
it can catch errors and propagate them back as Tcl errors.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christian Kratzer 2005-10-23 15:42:41 Re: Transaction IDs not the same in same transaction?
Previous Message Tom Lane 2005-10-23 15:13:15 Re: Transaction IDs not the same in same transaction?