Re: another index question - Mailing list pgsql-general

From Tom Lane
Subject Re: another index question
Date
Msg-id 2558.986164924@sss.pgh.pa.us
Whole thread Raw
In response to Re: another index question  ("ADBAAMD" <adba.amdocs@bell.ca>)
List pgsql-general
"ADBAAMD" <adba.amdocs@bell.ca> writes:
> More to the point, shouldn't the statistics on tables plus the syntax be
> enough for the planner to get this (not so complex) query a good plan,
> even if not optimal?

We don't generate very good plans for IN at the moment.  This is on the
TODO list.

            regards, tom lane

pgsql-general by date:

Previous
From: "ADBAAMD"
Date:
Subject: Re: Ok, why isn't it using *this* index?
Next
From: Tom Lane
Date:
Subject: Re: How do I...