Re: 64-bit sequences

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 64-bit sequences
Дата
Msg-id 200006241625.MAA24050@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: 64-bit sequences  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 64-bit sequences  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Paul Caskey <paul@nmxs.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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: CLASSOID patch
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: About the pid and opts files