Boy... I had the screwed up! :) Thanks for explaining.
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Saracini <dsaracini(at)yahoo(dot)com>
Cc: pgsql novice forum <pgsql-novice(at)postgresql(dot)org>
Sent: Friday, August 14, 2009 1:38:20 PM
Subject: Re: [NOVICE] Transaction ID in Triggers
David Saracini <dsaracini(at)yahoo(dot)com> writes:
> So, if I understand it... then, txid_current returns the xmax in the
> high-order and the xmin in the low-order. Correct?
No. txid_current returns a monotonically increasing version of the
transaction counter --- its high order bits are an "epoch" counter
that increases whenever the 32-bit xid wraps around.
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: P. Staring||Date: 2009-08-14 21:18:40|
|Subject: Having trouble installing on Vista|
|Previous:||From: Tom Lane||Date: 2009-08-14 20:38:20|
|Subject: Re: Transaction ID in Triggers |