Unsigned ints

Поиск
Список
Период
Сортировка
От Adriaan Joubert
Тема Unsigned ints
Дата
Msg-id 3ABF98D8.7AE475E5@albourne.com
обсуждение исходный текст
Список pgsql-hackers
Hi,

    I know I'm a bit early to submit stuff for 7.2, but attached is a patch
(agains 7.1RC1) to add uint2 and uint4 as new types. I haven't put in
all the possible combinations of signed and unsigned ints as arguments
to operators -- I was going insane just doing it for all combinations of
uint2 and uint4. If anything is missing, please let me know and I'd
appreciate it if somebody could do some sanity checking on the patch, as
this is the first time I've actually inserted a new type into the
catalog.

Also, some other databases (Compaq Himalaya) use

    SMALLINT UNSIGNED
    INTEGER UNSIGNED

for these types. Dunno whether a type consisting of 2 words is going to
break the parser completely. If there are any problems with the patch,
please let me know as well -- not sure I've built it in the correct way.

Regards,

Adriaan
Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: 7.1 docs
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Re: Call for platforms