summaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-03-25 16:15:16 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-03-25 16:15:16 -0400
commit356f85f95cb0b0e99ce51932c2a9dbd292f0b292 (patch)
tree04682bdca6a8ba222b988f07ae20e2ca58ec18ce /src/tutorial/advanced.source
parent7b55a3b167514ee78a9284a834abfd3ccb0547c0 (diff)
Doc: add example of type resolution in nested UNIONs.
Section 10.5 didn't say explicitly that multiple UNIONs are resolved pairwise. Since the resolution algorithm is described as taking any number of inputs, readers might well think that a query like "select x union select y union select z" would be resolved by considering x, y, and z in one resolution step. But that's not what happens (and I think that behavior is per SQL spec). Add an example clarifying this point. Per bug #15129 from Philippe Beaudoin. Discussion: https://postgr.es/m/152196085023.32649.9916472370480121694@wrigleys.postgresql.org
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions