Re: BUG #5755: Query Optimzer Bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Elliott Groszek" <elliott(dot)groszek(at)navy(dot)mil>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5755: Query Optimzer Bug
Date: 2010-11-17 16:05:30
Message-ID: 27568.1290009930@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Elliott Groszek" <elliott(dot)groszek(at)navy(dot)mil> writes:
> The following SQL statements produce different query plans even though
> "phone" is not reference in the SQL!

> explain update customer set login_name =
> (select "NESSOuserName" from person,phone
> where person.cac_cert=customer.cac_cert);

> explain update customer set login_name =
> (select "NESSOuserName" from person
> where person.cac_cert=customer.cac_cert);

That's not a bug.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2010-11-17 18:37:42 Re: BUG #5755: Query Optimzer Bug
Previous Message Craig Ringer 2010-11-17 05:03:30 Re: BUG #5753: Existing Functions No Longer Work