forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4097233
committed
Provide query source text when parsing a SQL-standard function body.
Without this, we lose error cursor positions, as shown in themodified regression test result.Discussion:https://postgr.es/m/2197698.1617984583@sss.pgh.pa.us1 parent83efce7 commit4097233
File tree
2 files changed
+10
-2
lines changed- src
- backend/commands
- test/regress/expected
2 files changed
+10
-2
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
852 | 852 |
| |
853 | 853 |
| |
854 | 854 |
| |
855 |
| - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
856 | 858 |
| |
857 | 859 |
| |
858 | 860 |
| |
| |||
929 | 931 |
| |
930 | 932 |
| |
931 | 933 |
| |
| 934 | + | |
932 | 935 |
| |
933 | 936 |
| |
934 | 937 |
| |
| |||
947 | 950 |
| |
948 | 951 |
| |
949 | 952 |
| |
| 953 | + | |
950 | 954 |
| |
951 | 955 |
| |
952 | 956 |
| |
953 | 957 |
| |
954 | 958 |
| |
955 | 959 |
| |
956 | 960 |
| |
| 961 | + | |
957 | 962 |
| |
958 | 963 |
| |
959 | 964 |
| |
| |||
1220 | 1225 |
| |
1221 | 1226 |
| |
1222 | 1227 |
| |
1223 |
| - | |
| 1228 | + | |
| 1229 | + | |
1224 | 1230 |
| |
1225 | 1231 |
| |
1226 | 1232 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
295 | 295 |
| |
296 | 296 |
| |
297 | 297 |
| |
| 298 | + | |
| 299 | + | |
298 | 300 |
| |
299 | 301 |
| |
300 | 302 |
| |
|
0 commit comments
Comments
(0)