forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit915bed7
committed
Doc: add example of type resolution in nested UNIONs.
Section 10.5 didn't say explicitly that multiple UNIONs are resolvedpairwise. Since the resolution algorithm is described as taking anynumber of inputs, readers might well think that a query like"select x union select y union select z" would be resolved byconsidering x, y, and z in one resolution step. But that's not whathappens (and I think that behavior is per SQL spec). Add an exampleclarifying this point.Per bug #15129 from Philippe Beaudoin.Discussion:https://postgr.es/m/152196085023.32649.9916472370480121694@wrigleys.postgresql.org1 parente66f78e commit915bed7
1 file changed
+30
-0
lines changedLines changed: 30 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1077 | 1077 |
| |
1078 | 1078 |
| |
1079 | 1079 |
| |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
1080 | 1110 |
| |
1081 | 1111 |
| |
1082 | 1112 |
| |
|
0 commit comments
Comments
(0)