Re: Indexing null dates

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: johnsw(at)wardbrook(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Indexing null dates
Date: 2004-04-20 03:59:53
Message-ID: 3612.1082433593@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> + <literal>NULL</> values are not indexed by default.

This is quite incorrect. The nulls *are* indexed (at least in btree
indexes); the issue is whether there is any way to use the index to
search for them. I do not think it helps anyone for the documentation
to get this basic point wrong, even if the distinction is subtle.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2004-04-20 04:19:05 Re: [OT] Tom's/Marc's spam filters?
Previous Message Greg Stark 2004-04-20 03:33:47 Re: Indexing null dates