From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Paul Caskey <paul(at)nmxs(dot)com>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: 64-bit sequences |
Date: | 2000-06-24 16:25:22 |
Message-ID: | 200006241625.MAA24050@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Paul Caskey <paul(at)nmxs(dot)com> writes:
> > Okay, cool. Similar subject: What about making the oid 64-bit?
>
> Let's just say you'd be opening a *much* larger can of worms there,
> because Oid is used all over the place whereas only a few routines
> know anything about sequences.
>
> This is (or should be) on the TODO list but I wouldn't recommend it
> as your first backend programming project.
>
> > At first glance, this seems easier to change than the sequence
> > generator, since you guys do a good job of using sizeof() and the Oid
> > typedef.
>
> Except for all the places that assume Oid is interchangeable with int.
> Finding them is left as an exercise for the student...
It would be nice to get OID to act as an unsigned 'int' in all places.
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-06-25 00:59:19 | Re: Big 7.1 open items |
Previous Message | Chris Bitmead | 2000-06-24 15:26:16 | CLASSOID patch |