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

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

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