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

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

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