Doc: improve description of UNION/INTERSECT/EXCEPT syntax.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: abc037b65882396e4655ac6a95388ad33199ccef
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-10-05T14:24:15Z
Releases: 11.14
Doc: improve description of UNION/INTERSECT/EXCEPT syntax.

queries.sgml failed to mention the rather important point that
INTERSECT binds more tightly than UNION or EXCEPT.  I thought
it could also use more discussion of the role of parentheses
in these constructs.

Per gripe from Christopher Painter-Wakefield.

Discussion: https://postgr.es/m/163338891727.12510.3939775743980651160@wrigleys.postgresql.org

Files

PathChange+/−
doc/src/sgml/queries.sgml modified +43 −10

Documentation touched

Discussion