Re: IN clause - Mailing list pgsql-general

From Jim Nasby
Subject Re: IN clause
Date
Msg-id 8DD97979-FA65-4234-B720-21FE6D006BBB@decibel.org
Whole thread Raw
In response to Re: IN clause  (Marcus Engene <mengpg@engene.se>)
Responses Re: IN clause  (Martijn van Oosterhout <kleptog@svana.org>)
List 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 by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Solaris 10 problem
Next
From: Jim Nasby
Date:
Subject: Re: Editing contrib modules which are loaded by default?