forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3d4b0ab
committed
Reject invalid input in int2vectorin.
Since the int2vector type is intended only for internal use, this patch doesn'tworry about prettifying the error messages, which has the fringe benefit ofavoiding creating additional translatable strings. For a type intended to beused by end-users, we would want to do better, but the approach taken hereseems like the correct trade-off for this case.Caleb Welton1 parent540e69a commit3d4b0ab
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 |
| - | |
150 |
| - | |
151 | 149 |
| |
152 | 150 |
| |
| 151 | + | |
| 152 | + | |
| 153 | + | |
153 | 154 |
| |
154 | 155 |
| |
155 | 156 |
| |
|
0 commit comments
Comments
(0)