forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit12cc956
committed
Improve some error wording with multirange type parsing
Braces were referred in some error messages as only brackets (not curlybrackets or curly braces), which can be confusing as other types ofbrackets could be used.While on it, add one test to check after the case of junk charactersdetected after a right brace.Author: Kyotaro HoriguchiDiscussion:https://postgr.es/m/20210514.153153.1814935914483287479.horikyota.ntt@gmail.com1 parentba356a3 commit12cc956
File tree
3 files changed
+9
-3
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+9
-3
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 |
| - | |
| 149 | + | |
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
| |||
282 | 282 |
| |
283 | 283 |
| |
284 | 284 |
| |
285 |
| - | |
| 285 | + | |
286 | 286 |
| |
287 | 287 |
| |
288 | 288 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 |
| |
17 | 22 |
| |
18 | 23 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
|
0 commit comments
Comments
(0)