From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | "Eric B(dot) Ridge" <ebr(at)tcdi(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: "xmin" system column |
Date: | 2006-01-26 22:30:25 |
Message-ID: | 20060126223025.GA98934@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jan 26, 2006 at 03:22:50PM -0700, Michael Fuhr wrote:
> On Thu, Jan 26, 2006 at 05:05:19PM -0500, Eric B. Ridge wrote:
> > Is there some kind of "TopXID" magic variable/function that I haven't
> > found in the documentation?
>
> Not in the standard installation, but I think a C function that
> returns GetTopTransactionId() should work. It's trivial to write
> and examples have been posted before; search the archives.
Tom made a good point against using this value: it's not guaranteed
to be unique, for example after a dump and reload. I suppose that's
a strong reason why the developers haven't provided such easy access
to it.
--
Michael Fuhr
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2006-01-26 22:35:24 | Re: Arrays |
Previous Message | Michael Fuhr | 2006-01-26 22:22:50 | Re: "xmin" system column |