Re: Queries joining views - Mailing list pgsql-general

From Tom Lane
Subject Re: Queries joining views
Date
Msg-id 11034.1156276350@sss.pgh.pa.us
Whole thread Raw
In response to Re: Queries joining views  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I wrote:
> Thanks.  After digging through it a bit, I understand what's happening,
> but I'm not seeing any simple fix.

I forgot to mention that although I could reproduce your bad plan in
8.1, CVS HEAD doesn't fall into the trap.  I don't believe we've done
anything to fix the fundamental problem however --- it may just be a
side effect of the changes in the indexscan cost model that cause it
to not go for the bogus plan.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Queries joining views
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] Queries joining views