Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group