]> granicus.if.org Git - postgresql/commit
Still more code review for single-page hash vacuuming.
authorRobert Haas <rhaas@postgresql.org>
Mon, 27 Mar 2017 16:50:51 +0000 (12:50 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 27 Mar 2017 16:51:10 +0000 (12:51 -0400)
commitc4c51541e22bf7f2da8ecf6986271687b0d7a90e
tree33cbf7c33ef6a3dad50cbd8be5945c4559cb64d5
parent1b02be21f271db6bd3cd43abb23fa596fcb6bac3
Still more code review for single-page hash vacuuming.

Most seriously, fix use of incorrect block ID, per a report from
Jeff Janes that it causes a crash and a diagnosis from Amit Kapila.

Improve consistency between the hash and btree versions of this
code by adding back a PANIC that btree has, and by registering
data in the xlog record in the same way, per complaints from
Jeff Janes and Amit Kapila.

Tidy up some minor cosmetic points, per complaints from Amit
Kapila.

Patch by Ashutosh Sharma, reviewed by Amit Kapila, and tested by
Jeff Janes.

Discussion: http://postgr.es/m/CAMkU=1w-9Qe=Ff1o6bSaXpNO9wqpo7_9GL8_CVhw4BoVVHasqg@mail.gmail.com
src/backend/access/hash/hash_xlog.c
src/backend/access/hash/hashinsert.c
src/backend/access/rmgrdesc/hashdesc.c
src/include/access/hash_xlog.h