Re: Outer joins and equivalence

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Matthew Wakeling <matthew(at)flymine(dot)org>
Cc: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Outer joins and equivalence
Date: 2008-05-28 13:39:10
Message-ID: 1211981950.4489.473.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance


On Wed, 2008-05-28 at 11:45 +0100, Matthew Wakeling wrote:
> On Tue, 27 May 2008, Simon Riggs wrote:
> > I do recognise that we would *not* be able to deduce this form of SQL
> >
> > A JOIN B ON (a.id = c.id) LEFT JOIN C ON (b.id = c.id)
>
> Surely that would not be valid SQL?

You are right, but my point was about inferences during SQL planning,
not about initial analysis of the statement.

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-05-28 14:10:06 Upcoming back-branch update releases
Previous Message Dave Cramer 2008-05-28 12:25:14 Re: [HACKERS] How embarrassing: optimization of a one-shot query doesn't work

Browse pgsql-performance by date

  From Date Subject
Next Message tarcizioab 2008-05-28 13:50:48 GEQO Benchmark
Previous Message Matthew Wakeling 2008-05-28 10:45:14 Re: Outer joins and equivalence