Re: column ordering, was Re: [PATCHES] Enums patch v2

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: column ordering, was Re: [PATCHES] Enums patch v2
Дата
Msg-id 45894A70.4020509@archonet.com
обсуждение исходный текст
Ответ на Re: column ordering, was Re: [PATCHES] Enums patch v2  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan wrote:
> 
> Or we could divide the positive number space in two, by starting at 2^14 
> (attnums are int2). Then a simple bitmask test would work to distinguish 
> them.

Perhaps divide-by-four, then it would be possible to have calculated 
columns (as mentioned recently on one of the lists). In particular, that 
would let you have FK constraints with a constant as part of the key.

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: [PATCHES] Bundle of patches
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Bundle of patches