OSDN Git Service

Tweak hash index AM to use the new ReadOrZeroBuffer bufmgr API when fetching
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 May 2007 16:45:58 +0000 (16:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 May 2007 16:45:58 +0000 (16:45 +0000)
commit0fef38da215cdc9b01b1b623c2e37d7414b91843
treeb2dac440eabd593952fd8e1a1e94f27bad979fff
parent1aefa0489f0b6baccc7376b5e1135ae1c1cad0af
Tweak hash index AM to use the new ReadOrZeroBuffer bufmgr API when fetching
pages it intends to zero immediately.  Just to show there is some use for that
function besides WAL recovery :-).
Along the way, fold _hash_checkpage and _hash_pageinit calls into _hash_getbuf
and friends, instead of expecting callers to do that separately.
contrib/pgstattuple/pgstattuple.c
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/backend/access/hash/hashutil.c
src/include/access/hash.h