forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit94235d4
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 parent1857648 commit94235d4
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 | |
---|---|---|---|
| |||
18832 | 18832 |
| |
18833 | 18833 |
| |
18834 | 18834 |
| |
18835 |
| - | |
| 18835 | + | |
18836 | 18836 |
| |
18837 | 18837 |
| |
18838 | 18838 |
| |
| |||
18874 | 18874 |
| |
18875 | 18875 |
| |
18876 | 18876 |
| |
18877 |
| - | |
| 18877 | + | |
18878 | 18878 |
| |
18879 | 18879 |
| |
18880 | 18880 |
| |
|
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)