Doc: improve description of UNION/INTERSECT/EXCEPT syntax.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Oct 2021 14:24:14 +0000 (10:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Oct 2021 14:24:14 +0000 (10:24 -0400)
commitb6cf89b025f82a9ab5c2961f216ca6a2751ad793
tree688509f9d1f42e358020c02ee082c47583fd0376
parent36b58ac6f6d0c4ce51ffb413ba376c2e8f95126f
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
doc/src/sgml/queries.sgml