Re: NATURAL JOINs - Mailing list pgsql-general

From Richard Broersma
Subject Re: NATURAL JOINs
Date
Msg-id 396486430810150917j4b9a06a0l3970fe192fc99464@mail.gmail.com
Whole thread Raw
In response to Re: NATURAL JOINs  (Reg Me Please <regmeplease@gmail.com>)
Responses Re: NATURAL JOINs  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
On Wed, Oct 15, 2008 at 9:03 AM, Reg Me Please <regmeplease@gmail.com> wrote:

> Both are perfectly right, indeed.
> Nonetheless, in my opinion a NATURAL JOIN  exploiting the FKs
> instead of the column names would be much more helpful and much less error
> prone!
>
> As far as I know there is no way to exploit FKs in JOINs, right?

Yes AFAIK, this would make postgresql's implementation of natural join
violate the SQL standard.  Perhaps you could propose an "UNNATURAL
JOIN" syntax extension. ;)


--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Drupal and PostgreSQL - performance issues?
Next
From: Tom Lane
Date:
Subject: Re: Column level triggers