Re: PRIMARY KEY on a *group* of columns imply that each column is NOT

Поиск
Список
Период
Сортировка
От Stephane Bortzmeyer
Тема Re: PRIMARY KEY on a *group* of columns imply that each column is NOT
Дата
Msg-id 20050427150017.GB2740@nic.fr
обсуждение исходный текст
Ответ на Re: PRIMARY KEY on a *group* of columns imply that each  (Scott Marlowe <smarlowe@g2switchworks.com>)
Ответы Re: PRIMARY KEY on a *group* of columns imply that each column is  (Marco Colombo <pgsql@esiway.net>)
Список pgsql-general
On Wed, Apr 27, 2005 at 09:36:57AM -0500,
 Scott Marlowe <smarlowe@g2switchworks.com> wrote
 a message of 18 lines which said:

> Often the best bet here, btw, is to declare it not null then use
> something other than null to represent null, like the text
> characters NA or something.

Yes, but it defeats the purpose of NULL. And what should I use as a
"pseudo-NULL" value for INET? 127.0.0.1? 0.0.0.0? Special values are
well-known for the problems they raise. That's why many languages have
NULL-like solutions (None in Python, undef in Perl, Maybe types in
Haskell, etc).


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

Предыдущее
От: Stephane Bortzmeyer
Дата:
Сообщение: Re: PRIMARY KEY on a *group* of columns imply that each column is NOT
Следующее
От: Sebastian Böck
Дата:
Сообщение: Re: PRIMARY KEY on a *group* of columns imply that each