pgsql/src backend/access/gist/gistscan.c backe ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/access/gist/gistscan.c backe ...
Date: 2001-06-09 18:17:49
Message-ID: 200106091817.f59IHnI23468@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/06/09 14:16:59

Modified files:
src/backend/access/gist: gistscan.c
src/backend/access/heap: heapam.c
src/backend/access/index: genam.c
src/backend/access/rtree: rtscan.c
src/backend/storage/buffer: bufmgr.c
src/include/access: relscan.h skey.h
src/include/storage: buf.h bufmgr.h

Log message:
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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-06-09 21:41:42 pgsql/src/include/catalog pg_type.h
Previous Message Bruce Momjian - CVS 2001-06-09 14:40:42 pgsql/doc FAQ src/FAQ/FAQ.html