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

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

Commit: b6cf89b025f82a9ab5c2961f216ca6a2751ad793
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-10-05T14:24:14Z
Releases: 12.9
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