]> granicus.if.org Git - postgresql/commit
Port single-page btree vacuum logic to hash indexes.
authorRobert Haas <rhaas@postgresql.org>
Thu, 16 Mar 2017 02:18:56 +0000 (22:18 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 16 Mar 2017 02:18:56 +0000 (22:18 -0400)
commit6977b8b7f4dfb40896ff5e2175cad7fdbda862eb
tree5b71b7a495bab413a907ecab2161df1627c650fc
parent2038bf41c963f9ec626f7f8f1f03f0471d063b6d
Port single-page btree vacuum logic to hash indexes.

This is advantageous for hash indexes for the same reasons it's good
for btrees: it accelerates space recycling, reducing bloat.

Ashutosh Sharma, reviewed by Amit Kapila and by me.  A bit of
additional hacking by me.

Discussion: http://postgr.es/m/CAE9k0PkRSyzx8dOnokEpUi2A-RFZK72WN0h9DEMv_ut9q6bPRw@mail.gmail.com
src/backend/access/hash/README
src/backend/access/hash/hash.c
src/backend/access/hash/hash_xlog.c
src/backend/access/hash/hashinsert.c
src/backend/access/hash/hashsearch.c
src/backend/access/hash/hashsort.c
src/backend/access/hash/hashutil.c
src/backend/access/rmgrdesc/hashdesc.c
src/include/access/hash.h
src/include/access/hash_xlog.h