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

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

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