Re: Another planner oddity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Another planner oddity
Date: 2001-11-03 15:53:00
Message-ID: 2123.1004802780@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> explain select
> (select r.n from r where r.p=tv.p), -- no reference to gn!
> sum(x)
> From
> tv

What's your point? We can't omit the join to g, as that would change
the set of returned rows. (In general, anyway; in this case the
dependency is that multiple matches in g would change sum(x) for
any given r.n.)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-03 16:22:21 Re: LISTENING THE PORT
Previous Message Fábio Santana 2001-11-03 14:23:17 LISTENING THE PORT