Re: Transaction IDs not the same in same transaction? - Mailing list pgsql-general

From Tom Lane
Subject Re: Transaction IDs not the same in same transaction?
Date
Msg-id 16568.1130082048@sss.pgh.pa.us
Whole thread Raw
In response to Transaction IDs not the same in same transaction?  (Steve V <dndlists@gmail.com>)
Responses Re: Transaction IDs not the same in same transaction?  (Steve V <dndlists@gmail.com>)
List pgsql-general
Steve V <dndlists@gmail.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Transaction IDs not the same in same transaction?
Next
From: "Magnus Hagander"
Date:
Subject: Re: pg_autovacuum (8.0.4) as Windows service ?