Commit c39f2f6
committed
Fix publication syntax error message
There was some odd wording in corner-case gram.y error messages "some
error ... at or near", which appears to have been modeled after "syntax
error" messages. However, they don't work that way, and they're just
wrong. They're also uncovered by tests. Remove the trailing words,
and also add tests.
They were introduced with 5a28324; backpatch to 15.
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>1 parent d8bcce1 commit c39f2f6
File tree
3 files changed
+15
-2
lines changed- src
- backend/parser
- test/regress
- expected
- sql
3 files changed
+15
-2
lines changed| 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 | | |
| |||
| 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 | | |
| |||
| 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