Re: [GENERAL] xmin increasing within a transaction block? - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] xmin increasing within a transaction block?
Date
Msg-id 9025.1509978377@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] xmin increasing within a transaction block?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: [GENERAL] xmin increasing within a transaction block?
List pgsql-general
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Luca Ferrari wrote:
>> Why is xmin greater than the current transaction id (and most notably
>> not "fixed")?

> Something is using subtransactions there.  My first guess would be that
> there are triggers with EXCEPTION blocks, but your example doesn't show
> any.  Or maybe you have event triggers.

I can reproduce the example if I "\set ON_ERROR_ROLLBACK on" in psql.
        regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: [GENERAL] Converting AGE() to something human readable
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Naming conventions for column names