]> granicus.if.org Git - postgresql/commit
Remove _hash_chgbufaccess().
authorRobert Haas <rhaas@postgresql.org>
Fri, 23 Dec 2016 12:14:37 +0000 (07:14 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 23 Dec 2016 12:14:37 +0000 (07:14 -0500)
commit7819ba1ef6c5297b7e27878d2b3d30c5bcef8939
treed160d631ed1bb023d3c51371f0cd1a116a9ad174
parent0a85c102254b72ec7ce16bc504206a1a5c84bd76
Remove _hash_chgbufaccess().

This is basically for the same reasons I got rid of _hash_wrtbuf()
in commit 25216c98938495fd741bf585dcbef45b3a9ffd40: it's not
convenient to have a function which encapsulates MarkBufferDirty(),
especially as we move towards having hash indexes be WAL-logged.

Patch by me, reviewed (but not entirely endorsed) by Amit Kapila.
src/backend/access/hash/hash.c
src/backend/access/hash/hashinsert.c
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashpage.c
src/backend/access/hash/hashsearch.c
src/include/access/hash.h