Re: Unique indices and nulls

Поиск
Список
Период
Сортировка
От Roland Roberts
Тема Re: Unique indices and nulls
Дата
Msg-id m23csg1lyf.fsf@kuiper.rlent.pnet
обсуждение исходный текст
Ответ на Re: Unique indices and nulls  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-novice
>>>>> "Josh" == Josh Berkus <josh@agliodbs.com> writes:

    Josh> All DBAs are guilty of, to a lesser or greater degree, using
    Josh> NULL to represent "None", even though NULL actually means
    Josh> "unknown" according to the SQL spec.  The rest of the SQL
    Josh> spec is designed to support NULLs as "unknown", so this can
    Josh> lead to problems in application.  Like yours.

This is a good point, and since I know the range of values which can
go into those columns, it is easy to pick something to use as
representing "none."

roland
--
               PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises
roland@rlenter.com                     76-15 113th Street, Apt 3B
roland@astrofoto.org                       Forest Hills, NY 11375

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

Предыдущее
От: Terry Yapt
Дата:
Сообщение: Re: Strange situation with two tables.
Следующее
От: "Chad Thompson"
Дата:
Сообщение: A and C not B