aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-06-09 18:16:59 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-06-09 18:16:59 +0000
commitbdadc9bf1c0900487c372f2403c7c064d177d68c (patch)
treea64acd263294e66f91b8f5868f083b75fb5c8507 /src/backend/access/gist/gist.c
parent32479891305bb80f428f189d48a1661dbe39d4f4 (diff)
downloadpostgresql-bdadc9bf1c0900487c372f2403c7c064d177d68c.tar.gz
postgresql-bdadc9bf1c0900487c372f2403c7c064d177d68c.zip
Remove RelationGetBufferWithBuffer(), which is horribly confused about
appropriate pin-count manipulation, and instead use ReleaseAndReadBuffer. Make use of the fact that the passed-in buffer (if there is one) must be pinned to avoid grabbing the bufmgr spinlock when we are able to return this same buffer. Eliminate unnecessary 'previous tuple' and 'next tuple' fields of HeapScanDesc and IndexScanDesc, thereby removing a whole lot of bookkeeping from heap_getnext() and related routines.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions