Re: empty string causes planner to avoid index. Makes me sad. - Mailing list pgsql-general

From Tom Lane
Subject Re: empty string causes planner to avoid index. Makes me sad.
Date
Msg-id 20827.1259359226@sss.pgh.pa.us
Whole thread Raw
In response to Re: empty string causes planner to avoid index. Makes me sad.  (Jeff Amiel <becauseimjeff@yahoo.com>)
Responses Re: empty string causes planner to avoid index. Makes me sad.  (Jeff Amiel <becauseimjeff@yahoo.com>)
List pgsql-general
Jeff Amiel <becauseimjeff@yahoo.com> writes:
> hmm...ok...planner is not using the index effectively (as effectively as when a non-empty value is passed in)

You didn't show us any evidence of that, either.  Both of your test
cases are using the index.

            regards, tom lane

pgsql-general by date:

Previous
From: Pete Erickson
Date:
Subject: Cannot allocate memory for output buffer
Next
From: Tom Lane
Date:
Subject: Re: Cannot allocate memory for output buffer