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)
commit9024a35c11d7e8c42c2489ae2f912e4d0572f1df
treee6a475faf0b51a2351f3a56c126e09855d180632
parent0a6549316ee852ebea843671b755dc6d54b0e85b
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