Behavior of left join using is not covered by docs

From: georgthegreat(at)gmail(dot)com
To: pgsql-docs(at)postgresql(dot)org
Subject: Behavior of left join using is not covered by docs
Date: 2017-01-12 07:31:50
Message-ID: 20170112073150.24286.65292@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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'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?

Browse pgsql-docs by date

  From Date Subject
Next Message sergey.klimkevich 2017-01-12 09:29:05 INSERT/UPDATE/DELETE with RETURNING
Previous Message mthrockmorton 2017-01-12 01:05:25 complete 'C' trigger example needs fmgr.h