From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
Cc: | Manfred Koizar <mkoi-pg(at)aon(dot)at>, Ericson Smith <eric(at)did-it(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: XID Data Types |
Date: | 2004-05-06 15:08:56 |
Message-ID: | 200405061508.i46F8u521383@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Jan Wieck wrote:
> Manfred Koizar wrote:
> > On Mon, 03 May 2004 13:38:45 -0400, Ericson Smith <eric(at)did-it(dot)com>
> > wrote:
> >>didit=# select *,xmin from settings where xmin > '187167023'::xid limit 5;
> >>ERROR: operator does not exist: xid > xid
> >
> > There might be better solutions, but when I ran into the same problem,
> > the age(xid) function helped at lot.
>
> Slony contains an xxid data type that follows exactly the xid semantics.
> It comes with a full operator class so that you can even put indexes on
> xxid type columns. Shouldn't be too hard to define those operators for
> the builtin xid type instead.
Should we just get that into our CVS so Slony doesn't have to distribute
its own?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Crercio O. Silva | 2004-05-06 15:17:58 | New DBManager 2.3.0 is Released |
Previous Message | Jan Wieck | 2004-05-06 14:31:22 | Re: XID Data Types |