pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: georgthegreat@gmail.com
To: pgsql-docs@postgresql.org
Subject: Behavior of left join using is not covered by docs
Date: Thu, 12 Jan 2017 07:31:50 +0000
Message-ID: <20170112073150.24286.65292@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/sql-select.html
Description:

At the time, the documentation (here:
https://www.postgresql.org/docs/9.6/static/sql-select.html) on using keyword
says:

Also, USING implies that only one of each pair of equivalent columns will be
included in the join output, not both.

It&#39;s not clear which column will be chosen in case of LEFT/RIGHT JOIN. At
the time, my tests show that left column will be chosen in case of left join
and right column will be chosen in case of right (looks logical).

Is my understanding correct? Is it possible to cover this behavior by
documentation?

-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Message-ID: <20170112073150.24286.65292@wrigleys.postgresql.org>
Permalink:  ../20170112073150.24286.65292@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170112073150.24286.65292@wrigleys.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: georgthegreat@gmail.com
  Subject: Re: Behavior of left join using is not covered by docs
  In-Reply-To: <20170112073150.24286.65292@wrigleys.postgresql.org>

* 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