Re: unexpected plan for unused table (8.1dev) - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: unexpected plan for unused table (8.1dev)
Date
Msg-id Pine.GSO.4.63.0508291112510.16397@ra.sai.msu.su
Whole thread Raw
In response to Re: unexpected plan for unused table (8.1dev)  (Hannu Krosing <hannu@skype.net>)
List pgsql-hackers
On Mon, 29 Aug 2005, Hannu Krosing wrote:

>>
>> The only difference is unused table 'place' in FROM-clause. I typed in by
>> mistake, but I think optimizer could figure out not to take into account
>> this table.
>
> This is valid SQL and afaik exactly what you asked for in the query.
> Postgresql can't possibly know that you made a mistake :)

Oh, yes, you're right, of course !

>
>
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: unexpected plan for unused table (8.1dev)
Next
From: Harald Fuchs
Date:
Subject: Re: Call for 7.5 feature completion