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 !
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
pgsql-hackers by date
|Next:||From: Harald Fuchs||Date: 2005-08-29 07:56:44|
|Subject: Re: Call for 7.5 feature completion|
|Previous:||From: Hannu Krosing||Date: 2005-08-29 06:37:11|
|Subject: Re: unexpected plan for unused table (8.1dev)|