forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6bbcff0
committed
Mark multirange_constructor0() and multirange_constructor2() strict
These functions shouldn't receive null arguments: multirange_constructor0()doesn't have any arguments while multirange_constructor2() has a single arrayargument, which is never null.But mark them strict anyway for the sake of uniformity.Also, make checks for null arguments use elog() instead of ereport() as theseerrors should normally be never thrown. And adjust corresponding comments.Catversion is bumped.Reported-by: Peter EisentrautDiscussion:https://postgr.es/m/0f783a96-8d67-9e71-996b-f34a7352eeef%40enterprisedb.com1 parent3f20d5f commit6bbcff0
File tree
4 files changed
+28
-27
lines changed- src
- backend
- commands
- utils/adt
- include/catalog
4 files changed
+28
-27
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1844 | 1844 |
| |
1845 | 1845 |
| |
1846 | 1846 |
| |
1847 |
| - | |
| 1847 | + | |
1848 | 1848 |
| |
1849 | 1849 |
| |
1850 | 1850 |
| |
| |||
1929 | 1929 |
| |
1930 | 1930 |
| |
1931 | 1931 |
| |
1932 |
| - | |
| 1932 | + | |
1933 | 1933 |
| |
1934 | 1934 |
| |
1935 | 1935 |
| |
|
Lines changed: 13 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
216 | 216 |
| |
217 | 217 |
| |
218 | 218 |
| |
| 219 | + | |
219 | 220 |
| |
220 | 221 |
| |
221 | 222 |
| |
222 | 223 |
| |
223 | 224 |
| |
224 | 225 |
| |
225 | 226 |
| |
| 227 | + | |
226 | 228 |
| |
227 | 229 |
| |
228 | 230 |
| |
| |||
242 | 244 |
| |
243 | 245 |
| |
244 | 246 |
| |
245 |
| - | |
246 |
| - | |
| 247 | + | |
| 248 | + | |
247 | 249 |
| |
248 | 250 |
| |
249 | 251 |
| |
| |||
259 | 261 |
| |
260 | 262 |
| |
261 | 263 |
| |
| 264 | + | |
262 | 265 |
| |
263 | 266 |
| |
264 | 267 |
| |
| |||
951 | 954 |
| |
952 | 955 |
| |
953 | 956 |
| |
954 |
| - | |
955 |
| - | |
| 957 | + | |
| 958 | + | |
956 | 959 |
| |
957 | 960 |
| |
958 | 961 |
| |
959 |
| - | |
960 |
| - | |
961 |
| - | |
| 962 | + | |
| 963 | + | |
962 | 964 |
| |
963 | 965 |
| |
964 | 966 |
| |
| |||
1022 | 1024 |
| |
1023 | 1025 |
| |
1024 | 1026 |
| |
1025 |
| - | |
1026 |
| - | |
| 1027 | + | |
| 1028 | + | |
1027 | 1029 |
| |
1028 | 1030 |
| |
1029 | 1031 |
| |
1030 |
| - | |
1031 |
| - | |
1032 |
| - | |
| 1032 | + | |
| 1033 | + | |
1033 | 1034 |
| |
1034 | 1035 |
| |
1035 | 1036 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10445 | 10445 |
| |
10446 | 10446 |
| |
10447 | 10447 |
| |
10448 |
| - | |
| 10448 | + | |
10449 | 10449 |
| |
10450 | 10450 |
| |
10451 | 10451 |
| |
10452 | 10452 |
| |
10453 | 10453 |
| |
10454 | 10454 |
| |
10455 |
| - | |
| 10455 | + | |
10456 | 10456 |
| |
10457 | 10457 |
| |
10458 | 10458 |
| |
10459 | 10459 |
| |
10460 |
| - | |
| 10460 | + | |
10461 | 10461 |
| |
10462 | 10462 |
| |
10463 | 10463 |
| |
10464 | 10464 |
| |
10465 | 10465 |
| |
10466 |
| - | |
| 10466 | + | |
10467 | 10467 |
| |
10468 | 10468 |
| |
10469 | 10469 |
| |
10470 | 10470 |
| |
10471 |
| - | |
| 10471 | + | |
10472 | 10472 |
| |
10473 | 10473 |
| |
10474 | 10474 |
| |
10475 | 10475 |
| |
10476 | 10476 |
| |
10477 |
| - | |
| 10477 | + | |
10478 | 10478 |
| |
10479 | 10479 |
| |
10480 | 10480 |
| |
10481 | 10481 |
| |
10482 |
| - | |
| 10482 | + | |
10483 | 10483 |
| |
10484 | 10484 |
| |
10485 | 10485 |
| |
10486 | 10486 |
| |
10487 | 10487 |
| |
10488 | 10488 |
| |
10489 |
| - | |
| 10489 | + | |
10490 | 10490 |
| |
10491 | 10491 |
| |
10492 | 10492 |
| |
10493 | 10493 |
| |
10494 |
| - | |
| 10494 | + | |
10495 | 10495 |
| |
10496 | 10496 |
| |
10497 | 10497 |
| |
10498 | 10498 |
| |
10499 | 10499 |
| |
10500 | 10500 |
| |
10501 |
| - | |
| 10501 | + | |
10502 | 10502 |
| |
10503 | 10503 |
| |
10504 | 10504 |
| |
10505 | 10505 |
| |
10506 |
| - | |
| 10506 | + | |
10507 | 10507 |
| |
10508 | 10508 |
| |
10509 | 10509 |
| |
10510 | 10510 |
| |
10511 | 10511 |
| |
10512 | 10512 |
| |
10513 |
| - | |
| 10513 | + | |
10514 | 10514 |
| |
10515 | 10515 |
| |
10516 | 10516 |
| |
|
0 commit comments
Comments
(0)