forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit970c050
committed
Fix assertion failure in check_new_partition_bound().
Commit6b2c4e5 was overly confident about not being able to seea negative cmpval result from partition_range_bsearch(). Adjustthe code to cope with that.Report and patch by Amul Sul; some additional cosmetic changes by meDiscussion:https://postgr.es/m/CAAJ_b97WCO=EyVA7fKzc86kKfojHXLU04_zs7-7+yVzm=-1QkQ@mail.gmail.com1 parent6f0bc5e commit970c050
File tree
3 files changed
+25
-20
lines changed- src
- backend/partitioning
- test/regress
- expected
- sql
3 files changed
+25
-20
lines changedLines changed: 20 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2703 | 2703 |
| |
2704 | 2704 |
| |
2705 | 2705 |
| |
2706 |
| - | |
2707 |
| - | |
2708 |
| - | |
2709 |
| - | |
| 2706 | + | |
| 2707 | + | |
| 2708 | + | |
| 2709 | + | |
2710 | 2710 |
| |
2711 | 2711 |
| |
2712 | 2712 |
| |
| |||
2978 | 2978 |
| |
2979 | 2979 |
| |
2980 | 2980 |
| |
2981 |
| - | |
| 2981 | + | |
| 2982 | + | |
| 2983 | + | |
2982 | 2984 |
| |
2983 | 2985 |
| |
2984 | 2986 |
| |
2985 | 2987 |
| |
2986 | 2988 |
| |
2987 | 2989 |
| |
2988 |
| - | |
| 2990 | + | |
| 2991 | + | |
2989 | 2992 |
| |
2990 |
| - | |
| 2993 | + | |
2991 | 2994 |
| |
2992 | 2995 |
| |
2993 | 2996 |
| |
| |||
3057 | 3060 |
| |
3058 | 3061 |
| |
3059 | 3062 |
| |
3060 |
| - | |
| 3063 | + | |
3061 | 3064 |
| |
3062 | 3065 |
| |
3063 | 3066 |
| |
3064 |
| - | |
| 3067 | + | |
3065 | 3068 |
| |
3066 | 3069 |
| |
3067 | 3070 |
| |
| |||
3083 | 3086 |
| |
3084 | 3087 |
| |
3085 | 3088 |
| |
3086 |
| - | |
3087 |
| - | |
3088 |
| - | |
3089 |
| - | |
3090 |
| - | |
| 3089 | + | |
| 3090 | + | |
3091 | 3091 |
| |
3092 |
| - | |
3093 | 3092 |
| |
3094 |
| - | |
| 3093 | + | |
3095 | 3094 |
| |
3096 | 3095 |
| |
3097 | 3096 |
| |
| |||
3393 | 3392 |
| |
3394 | 3393 |
| |
3395 | 3394 |
| |
3396 |
| - | |
| 3395 | + | |
3397 | 3396 |
| |
3398 | 3397 |
| |
3399 | 3398 |
| |
3400 | 3399 |
| |
3401 | 3400 |
| |
3402 | 3401 |
| |
| 3402 | + | |
3403 | 3403 |
| |
3404 | 3404 |
| |
3405 | 3405 |
| |
| |||
3692 | 3692 |
| |
3693 | 3693 |
| |
3694 | 3694 |
| |
3695 |
| - | |
3696 |
| - | |
3697 |
| - | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
3698 | 3698 |
| |
3699 | 3699 |
| |
3700 | 3700 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
856 | 856 |
| |
857 | 857 |
| |
858 | 858 |
| |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
859 | 863 |
| |
860 | 864 |
| |
861 | 865 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
687 | 687 |
| |
688 | 688 |
| |
689 | 689 |
| |
| 690 | + | |
690 | 691 |
| |
691 | 692 |
| |
692 | 693 |
| |
|
0 commit comments
Comments
(0)