postgresql/src/backend/access
Amit Kapila 7c9e19ca9a During the split, set checksum on an empty hash index page.
On a split, we allocate a new splitpoint's worth of bucket pages wherein
we initialize the last page with zeros which is fine, but we forgot to set
the checksum for that last page.

We decided to back-patch this fix till 10 because we don't have an easy
way to test it in prior versions.  Another reason is that the hash-index
code is changed heavily in 10, so it is not advisable to push the fix
without testing it in prior versions.

Author: Amit Kapila
Reviewed-by: Yugo Nagata
Backpatch-through: 10
Discussion: https://postgr.es/m/5d03686d-727c-dbf8-0064-bf8b97ffe850@2ndquadrant.com
2018-09-04 08:35:42 +05:30
..
brin Fail BRIN control functions during recovery explicitly 2018-06-14 12:51:32 -04:00
common Deduplicate code between slot_getallattrs() and slot_getsomeattrs(). 2018-08-23 16:58:53 -07:00
gin Avoid using potentially-under-aligned page buffers. 2018-09-01 15:27:17 -04:00
gist doc: Update uses of the word "procedure" 2018-08-22 14:44:49 +02:00
hash During the split, set checksum on an empty hash index page. 2018-09-04 08:35:42 +05:30
heap Avoid using potentially-under-aligned page buffers. 2018-09-01 15:27:17 -04:00
index Revise BuildIndexValueDescription to simplify it 2018-07-16 20:20:15 -04:00
nbtree Reduce path length for locking leaf B-tree pages during insertion 2018-07-28 00:31:40 +03:00
rmgrdesc printf("%lf") is not portable, so omit the "l". 2018-05-20 11:40:54 -04:00
spgist doc: Update uses of the word "procedure" 2018-08-22 14:44:49 +02:00
tablesample Rethink how to get float.h in old Windows API for isnan/isinf 2018-07-11 09:11:48 -04:00
transam Avoid using potentially-under-aligned page buffers. 2018-09-01 15:27:17 -04:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00