Re: Enum in PostgreSQL - How to

Поиск
Список
Период
Сортировка
От Nils O." Selåsdal
Тема Re: Enum in PostgreSQL - How to
Дата
Msg-id 1049724196.1217.10.camel@nos-rh
обсуждение исходный текст
Ответ на Enum in PostgreSQL - How to  (Jürgen Hauser <hauser@pandora.be>)
Ответы Re: Enum in PostgreSQL - How to  (Jürgen Hauser <hauser@pandora.be>)
Список pgsql-general
On Mon, 2003-04-07 at 14:24, Jürgen Hauser wrote:
> Hello!
>
> Could somebody tell me how i would simulate an ENUM columntype (as in
> MySQL). For example:
>
> accountType ENUM('default', 'custom') default='default'
accountType varchar(10) CHECK (accountType='default' or
accountType='custom) DEFAULT 'default'


--
Vennlig hilsen/Best Regards
Nils Olav Selåsdal
System Engineer
UtelSystems a/s
Tlf: 370 45 431
Mob: 416 97 995
w w w . u t e l s y s t e m s . c o m


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

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: unable to dump database, toast errors
Следующее
От: Tom Lane
Дата:
Сообщение: Re: chron scripts and pgsql