Commit a4a232b
committed
Error position support for defaults and check constraints
Add support for error position reporting for the expressions contained
in defaults and check constraint definitions. This currently works only
for CREATE TABLE, not ALTER TABLE, because the latter is not set up to
pass around the original query string.
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>1 parent 4b03584 commit a4a232b
File tree
4 files changed
+12
-6
lines changed- src
- backend
- catalog
- commands
- include/catalog
- test/regress/output
4 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2460 | 2460 | | |
2461 | 2461 | | |
2462 | 2462 | | |
2463 | | - | |
| 2463 | + | |
| 2464 | + | |
2464 | 2465 | | |
2465 | 2466 | | |
2466 | 2467 | | |
| |||
2489 | 2490 | | |
2490 | 2491 | | |
2491 | 2492 | | |
| 2493 | + | |
2492 | 2494 | | |
2493 | 2495 | | |
2494 | 2496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
988 | | - | |
| 988 | + | |
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| |||
5587 | 5587 | | |
5588 | 5588 | | |
5589 | 5589 | | |
5590 | | - | |
| 5590 | + | |
5591 | 5591 | | |
5592 | 5592 | | |
5593 | 5593 | | |
| |||
6178 | 6178 | | |
6179 | 6179 | | |
6180 | 6180 | | |
6181 | | - | |
| 6181 | + | |
6182 | 6182 | | |
6183 | 6183 | | |
6184 | 6184 | | |
| |||
7215 | 7215 | | |
7216 | 7216 | | |
7217 | 7217 | | |
7218 | | - | |
| 7218 | + | |
| 7219 | + | |
7219 | 7220 | | |
7220 | 7221 | | |
7221 | 7222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| |||
0 commit comments