Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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