Re: IN clause

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: IN clause
Дата
Msg-id 8DD97979-FA65-4234-B720-21FE6D006BBB@decibel.org
обсуждение исходный текст
Ответ на Re: IN clause  (Marcus Engene <mengpg@engene.se>)
Ответы Re: IN clause
Список pgsql-general
On Nov 24, 2006, at 9:04 AM, Marcus Engene wrote:
> There is one other case where I personally find nullable
> columns a good thing: process_me ish flags. When a row
> is not supposed to be processed that field is null and
> when a field is null it wont be in the index [at least
> on Oracle].

Actually, that's abuse of NULL. NULL is supposed to mean "I don't know".

In any case, like Oracle, PostgreSQL does not index NULL values (at
least not in btree).
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Solaris 10 problem
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Editing contrib modules which are loaded by default?