Re: simple? join - Mailing list pgsql-sql

From Tom Lane
Subject Re: simple? join
Date
Msg-id 21174.1010460319@sss.pgh.pa.us
Whole thread Raw
In response to Re: simple? join  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-sql
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
>> So, when and if we get around to implementing this particular SQL99
>> feature, what you are suggesting will work.  Right now it doesn't
>> (and I'll wager that darn few other SQL implementations support this
>> feature as yet, either).

> I think MySQL does.

Do they bother to check validity of the column reference at all?
The cheesy way to do this would be not to check; if you referenced a
non-functionally-dependent column, you'd get a randomly chosen element
value with no warning... but for correct queries it would look like
they had support.
        regards, tom lane


pgsql-sql by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: simple? join
Next
From: "Unnikrishnan Menon"
Date:
Subject: Porting Oracle Packages