Re: How come index isn't being used when query by function return value? - Mailing list pgsql-general

From Merlin Moncure
Subject Re: How come index isn't being used when query by function return value?
Date
Msg-id b42b73150607131401o11a7bff8n2efe00d7f010aa2f@mail.gmail.com
Whole thread Raw
In response to How come index isn't being used when query by function return value?  (Joseph Shraibman <jks@selectacast.net>)
Responses Re: How come index isn't being used when query by function return  (Joseph Shraibman <jks@selectacast.net>)
List pgsql-general
On 7/13/06, Joseph Shraibman <jks@selectacast.net> wrote:
> db:db=>explain select * from elog where id = eds('2006-01-01');
>                                          QUERY PLAN
> -------------------------------------------------------------------------------------------
>   Seq Scan on elog  (cost=0.00..1894975.10 rows=1 width=204)
>     Filter: (id = eds('2006-01-01 00:00:00'::timestamp without time zone))
> (2 rows)

is eds immutable function?

Merlin

pgsql-general by date:

Previous
From: Joseph Shraibman
Date:
Subject: How come index isn't being used when query by function return value?
Next
From: "Tim Hart"
Date:
Subject: Re: Is there a way to run tables in RAM?