Re: Are globally defined constants possible at all ?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Are globally defined constants possible at all ?
Дата
Msg-id 20020607170258.Y30966@mail.libertyrms.com
обсуждение исходный текст
Ответ на Re: Are globally defined constants possible at all ?  (Gregory Seidman <gss+pg@cs.brown.edu>)
Ответы Re: Are globally defined constants possible at all ?
Re: Are globally defined constants possible at all ?
Список pgsql-general
On Fri, Jun 07, 2002 at 02:36:35PM -0400, Gregory Seidman wrote:

> I am in the exact same position. I have a number of things which are
> essentially enumerations. Since PostgreSQL does not support an enumeration
> type (MySQL does, but then it doesn't have a proper boolean type), I have a

Why don't you use a CHECK contraint?  That's the standard way to do
it.

A

--
----
Andrew Sullivan                               87 Mowat Avenue
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110


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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: Slow connection
Следующее
От: Gregory Seidman
Дата:
Сообщение: Re: Are globally defined constants possible at all ?