Commit e3c1393
committed
SQL/JSON: Prevent ON EMPTY for EXISTS columns in JSON_TABLE()
Due to an oversight in de36004, the ON EMPTY clause was
incorrectly allowed in the EXISTS column. Fix the grammar to prevent
this.
Discussion: https://postgr.es/m/CA%2BHiwqHh3YDXTpccgAo4CdfV9Mhy%2Bmg%3Doh6t8rfM5uLW1BJN4g%40mail.gmail.com1 parent 0ad8153 commit e3c1393
File tree
3 files changed
+11
-3
lines changed- src
- backend/parser
- test/regress
- expected
- sql
3 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14265 | 14265 | | |
14266 | 14266 | | |
14267 | 14267 | | |
14268 | | - | |
| 14268 | + | |
14269 | 14269 | | |
14270 | 14270 | | |
14271 | 14271 | | |
| |||
14276 | 14276 | | |
14277 | 14277 | | |
14278 | 14278 | | |
14279 | | - | |
14280 | | - | |
| 14279 | + | |
| 14280 | + | |
14281 | 14281 | | |
14282 | 14282 | | |
14283 | 14283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1067 | 1067 | | |
1068 | 1068 | | |
1069 | 1069 | | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
0 commit comments