forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3b7a96a

Amit Kapila
During the split, set checksum on an empty hash index page.
On a split, we allocate a new splitpoint's worth of bucket pages whereinwe initialize the last page with zeros which is fine, but we forgot to setthe checksum for that last page.We decided to back-patch this fix till 10 because we don't have an easyway to test it in prior versions. Another reason is that the hash-indexcode is changed heavily in 10, so it is not advisable to push the fixwithout testing it in prior versions.Author: Amit KapilaReviewed-by: Yugo NagataBackpatch-through: 10Discussion:https://postgr.es/m/5d03686d-727c-dbf8-0064-bf8b97ffe850@2ndquadrant.com1 parent504f059 commit3b7a96a
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1036 | 1036 |
| |
1037 | 1037 |
| |
1038 | 1038 |
| |
| 1039 | + | |
1039 | 1040 |
| |
1040 | 1041 |
| |
1041 | 1042 |
| |
|
0 commit comments
Comments
(0)