From: | David Saracini <dsaracini(at)yahoo(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql novice forum <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Transaction ID in Triggers |
Date: | 2009-08-14 20:41:26 |
Message-ID: | 120016.15963.qm@web180315.mail.gq1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Boy... I had the screwed up! :) Thanks for explaining.
Regards,
David
________________________________
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
From | Date | Subject | |
---|---|---|---|
Next Message | P. Staring | 2009-08-14 21:18:40 | Having trouble installing on Vista |
Previous Message | Tom Lane | 2009-08-14 20:38:20 | Re: Transaction ID in Triggers |