Re: Queries joining views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alban Hertroys <alban(at)magproductions(dot)nl>
Cc: pgsql-general(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Queries joining views
Date: 2006-08-22 19:52:30
Message-ID: 11034.1156276350@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John Gray 2006-08-22 20:24:32 Re: [GENERAL] pgxml & xpath_table
Previous Message Alvaro Herrera 2006-08-22 19:51:59 Re: [HACKERS] Queries joining views

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-22 19:57:40 Re: Tricky bugs in concurrent index build
Previous Message Alvaro Herrera 2006-08-22 19:51:59 Re: [HACKERS] Queries joining views