forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfd923b5
committed
Don't rely on uninitialized value in MERGE / DELETE
On MERGE / WHEN MATCHED DELETE it's not possible to get cross-partitionupdates, so we don't initialize cpUpdateRetrySlot; however, the code wasnot careful to ignore the value in that case. Make it do so.Backpatch to 15.Reported-by: Alexander Lakhin <exclusion@gmail.com>Reviewed-by: Dean Rasheed <dean.a.rasheed@gmail.com>Discussion:https://postgr.es/m/17792-0f89452029662c36@postgresql.org1 parent5352ca2 commitfd923b5
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2967 | 2967 | | |
2968 | 2968 | | |
2969 | 2969 | | |
2970 | | - | |
2971 | | - | |
2972 | | - | |
2973 | | - | |
| 2970 | + | |
| 2971 | + | |
| 2972 | + | |
| 2973 | + | |
| 2974 | + | |
2974 | 2975 | | |
2975 | 2976 | | |
2976 | 2977 | | |
2977 | 2978 | | |
2978 | 2979 | | |
2979 | 2980 | | |
2980 | | - | |
2981 | | - | |
2982 | | - | |
2983 | 2981 | | |
2984 | | - | |
| 2982 | + | |
| 2983 | + | |
2985 | 2984 | | |
2986 | 2985 | | |
2987 | 2986 | | |
| |||
0 commit comments
Comments
(0)