Remove _hash_chgbufaccess().
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hash.c | modified | +10 −10 |
| src/backend/access/hash/hashinsert.c | modified | +8 −7 |
| src/backend/access/hash/hashovfl.c | modified | +17 −15 |
| src/backend/access/hash/hashpage.c | modified | +22 −42 |
| src/backend/access/hash/hashsearch.c | modified | +9 −9 |
| src/include/access/hash.h | modified | +0 −2 |