From: Dr. Andreas Kunert <kunert@cms.hu-berlin.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: David G Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12000: "CROSS JOIN" not equivalent to ","
Date: Wed, 19 Nov 2014 13:21:52 +0100
Message-ID: <546C8B60.9020108@cms.hu-berlin.de> (raw)
In-Reply-To: <13989.1416333351@sss.pgh.pa.us>
References: <20141118171126.2479.55006@wrigleys.postgresql.org>
<2468.1416331743@sss.pgh.pa.us>
<1416332994261-5827399.post@n5.nabble.com>
<13989.1416333351@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 18.11.2014 18:55, Tom Lane wrote:
> I don't think it's the place of the manual to be prescriptive about style;
> at least, not here.
>
> We could do something like "<CROSS JOIN example> is equivalent to <INNER JOIN ON
> TRUE example>. <CROSS JOIN example> is also equivalent to <example with
> comma>, but in cases with more than two tables this equivalence is not
> exact, because JOIN binds more tightly than comma."
>
> Or maybe put the "but" in a footnote.
Personally, I like the footnote idea best. It is a good compromise
between not worsening the readability of the documentation and still
mentioning the difference in priority for people who stumble upon this
behavior like I did.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: kunert@cms.hu-berlin.de, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com
Subject: Re: BUG #12000: "CROSS JOIN" not equivalent to ","
In-Reply-To: <546C8B60.9020108@cms.hu-berlin.de>
References: <20141118171126.2479.55006@wrigleys.postgresql.org> <2468.1416331743@sss.pgh.pa.us> <1416332994261-5827399.post@n5.nabble.com> <13989.1416333351@sss.pgh.pa.us> <546C8B60.9020108@cms.hu-berlin.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox