enumeration type?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема enumeration type?
Дата
Msg-id 005601c332b6$68358340$6401a8c0@DUNSLANE
обсуждение исходный текст
Список pgsql-hackers
This occurred to me yesterday as I was designing a little Db.

Has anyone thought about support for a simple enumeration type creation
mechanism? I know I could do it with CREATE TYPE and input/output functions,
but that does seem like a lot of work for a smallish thing.

As it is, I settled on a char type with some constraint checking, but
couldn't help thinking how nice a simple enumeration would have been.

andrew



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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Pre-allocation of shared memory ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Pre-allocation of shared memory ...