Re: [PATCHES] Enums patch v2

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [PATCHES] Enums patch v2
Дата
Msg-id 45894D7C.2000202@dunslane.net
обсуждение исходный текст
Ответ на Re: [PATCHES] Enums patch v2  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout wrote:
> Also, it's not just I/O functions that are the issue, consider the
> enum-to-integer cast.
>


er, what cast? :-)

IIRC Tom hasn't provided one. If you don't break the enum abstraction
there should be no need for one, and given the implementation it's not
quite trivial - probably the best way if this is needed would be to
precalculate it at type creation time and store the value in an extra
column in pg_enum.

cheers

andrew

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Bundle of patches
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Load distributed checkpoint patch