JOIN chaining not working in 7.1 beta 3 - Mailing list pgsql-sql

From Josh Berkus
Subject JOIN chaining not working in 7.1 beta 3
Date
Msg-id web-1186399@davinci.ethosmedia.com
Whole thread Raw
Responses Re: JOIN chaining not working in 7.1 beta 3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Tom, Stephen,
I'm trying to parse a query like the following and keep
getting various errors (I'd give you the real query but
&%^$# Netscape won't do cut-and-paste):

SELECT a.1, b.2, c.14, a.2, c.5
FROM a INNER JOIN b ON a.1=b.3LEFT OUTER JOIN c on a.1=c.2;

And I get:
ERROR: JOIN/ON CLAUSE REFERS TO 'c' WHICH IS NOT PART OF
JOIN.

What's wrong here?

-Josh Berkus



______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Never mind (Directional Joins)
Next
From: Bruce Momjian
Date:
Subject: Re: Bug with rules in 7.0.3?