enumerated type..

Поиск
Список
Период
Сортировка
От raptor@tvskat.net
Тема enumerated type..
Дата
Msg-id 20040719164328.07dedef4@bugs
обсуждение исходный текст
Ответы Re: enumerated type..  (Franco Bruno Borghesi <franco@akyasociados.com.ar>)
Re: enumerated type..  (Michael Kleiser <mkl@webde-ag.de>)
Список pgsql-general
hi,

Is it possible in Postgre to have enum type,  so that later table fileld get values from 1-6 (saving space)

1 - statex
2 - stateY
3 - stateZ

something like that and then constrain on this enum type..

tia

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

Предыдущее
От: Anton Nikiforov
Дата:
Сообщение: Re: LOG table changes ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Question on INSERT statement