Re: SET within a function? - Mailing list pgsql-general

From Mike Mascari
Subject Re: SET within a function?
Date
Msg-id 3F8C2B55.8020005@mascari.com
Whole thread Raw
In response to Re: SET within a function?  (Edmund Dengler <edmundd@eSentire.com>)
List pgsql-general
Edmund Dengler wrote:

> The problem I would face is that this still needs to be a sequential scan
> in the table rather than an index lookup.

IIRC, NULL values aren't indexed, only actual values, which is an
implementation detail but yet-another reason why NULL-elimination
through normalization is a good idea:

http://www.hughdarwen.freeola.com/TheThirdManifesto.web/Missing-info-without-nulls.pdf


Mike Mascari
mascarm@mascari.com



pgsql-general by date:

Previous
From: "pw"
Date:
Subject: converting varchar date strings to date
Next
From: Lamar Owen
Date:
Subject: Re: Redhat RPMs