Re: unexpected plan for unused table (8.1dev)

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Hannu Krosing <hannu(at)skype(dot)net>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: unexpected plan for unused table (8.1dev)
Date: 2005-08-29 07:13:19
Message-ID: Pine.GSO.4.63.0508291112510.16397@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Harald Fuchs 2005-08-29 07:56:44 Re: Call for 7.5 feature completion
Previous Message Hannu Krosing 2005-08-29 06:37:11 Re: unexpected plan for unused table (8.1dev)