Re: Unsigned integer types

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Unsigned integer types
Дата
Msg-id 51A53AC4.2030305@dunslane.net
обсуждение исходный текст
Ответ на Re: Unsigned integer types  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Unsigned integer types
Список pgsql-hackers
On 05/28/2013 07:00 PM, Bruce Momjian wrote:
> On Tue, May 28, 2013 at 05:57:41PM -0500, Jim Nasby wrote:
>>>
>>> Did you try 'oid' as an unsigned int4?
>> Using an internal catalog type for user data seems like a horrible idea to me...
> Uh, not sure if we can say oid is only an internal catalog type.  It is
> certainly used for storing large object references.
>

pg_largeobject has oids. I don't thing the fact that we use oids to 
store references to pg_largeobject should blind us to the fact that oid 
should be an opaque type. Using them as substitute unsigned ints seems 
like a horrible idea to me too.


cheers

andrew




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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: getting rid of freezing
Следующее
От: Andres Freund
Дата:
Сообщение: Re: getting rid of freezing