forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8e1d68c
committed
Fix publication syntax error message
There was some odd wording in corner-case gram.y error messages "someerror ... at or near", which appears to have been modeled after "syntaxerror" messages. However, they don't work that way, and they're justwrong. They're also uncovered by tests. Remove the trailing words,and also add tests.They were introduced with5a28324; backpatch to 15.Author: Álvaro Herrera <alvherre@alvh.no-ip.org>1 parentccd21e1 commit8e1d68c
File tree
3 files changed
+15
-2
lines changed- src
- backend/parser
- test/regress
- expected
- sql
3 files changed
+15
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18447 | 18447 |
| |
18448 | 18448 |
| |
18449 | 18449 |
| |
18450 |
| - | |
| 18450 | + | |
18451 | 18451 |
| |
18452 | 18452 |
| |
18453 | 18453 |
| |
| |||
18489 | 18489 |
| |
18490 | 18490 |
| |
18491 | 18491 |
| |
18492 |
| - | |
| 18492 | + | |
18493 | 18493 |
| |
18494 | 18494 |
| |
18495 | 18495 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
135 | 144 |
| |
136 | 145 |
| |
137 | 146 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 |
| |
83 | 87 |
| |
84 | 88 |
| |
|
0 commit comments
Comments
(0)