git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3247989) | patch
Remove RelationGetBufferWithBuffer(), which is horribly confused about
Sat, 9 Jun 2001 18:16:59 +0000 (18:16 +0000)
Sat, 9 Jun 2001 18:16:59 +0000 (18:16 +0000)
commit bdadc9bf1c0900487c372f2403c7c064d177d68c
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.
src/backend/access/gist/gistscan.c diff | blob | blame | history
src/backend/access/heap/heapam.c diff | blob | blame | history
src/backend/access/index/genam.c diff | blob | blame | history
src/backend/access/rtree/rtscan.c diff | blob | blame | history
src/backend/storage/buffer/bufmgr.c diff | blob | blame | history
src/include/access/relscan.h diff | blob | blame | history
src/include/access/skey.h diff | blob | blame | history
src/include/storage/buf.h diff | blob | blame | history
src/include/storage/bufmgr.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /