forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5d8ec1b
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 parent5fd6105 commit5d8ec1b
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2975 | 2975 |
| |
2976 | 2976 |
| |
2977 | 2977 |
| |
2978 |
| - | |
2979 |
| - | |
2980 |
| - | |
2981 |
| - | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
2982 | 2983 |
| |
2983 | 2984 |
| |
2984 | 2985 |
| |
2985 | 2986 |
| |
2986 | 2987 |
| |
2987 | 2988 |
| |
2988 |
| - | |
2989 |
| - | |
2990 |
| - | |
2991 | 2989 |
| |
2992 |
| - | |
| 2990 | + | |
| 2991 | + | |
2993 | 2992 |
| |
2994 | 2993 |
| |
2995 | 2994 |
| |
|
0 commit comments
Comments
(0)