postgresql/src/backend/access/transam
Neil Conway fef0c8345a I posted some bufmgr cleanup a few weeks ago, but it conflicted with
some concurrent changes Jan was making to the bufmgr. Here's an
updated version of the patch -- it should apply cleanly to CVS
HEAD and passes the regression tests.

This patch makes the following changes:

     - remove the UnlockAndReleaseBuffer() and UnlockAndWriteBuffer()
       macros, and replace uses of them with calls to the appropriate
       functions.

     - remove a bunch of #ifdef BMTRACE code: it is ugly & broken
       (i.e. it doesn't compile)

     - make BufferReplace() return a bool, not an int

     - cleanup some logic in bufmgr.c; should be functionality
       equivalent to the previous code, just cleaner now

     - remove the BM_PRIVATE flag as it is unused

     - improve a few comments, etc.
2003-12-14 00:34:47 +00:00
..
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
clog.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
rmgr.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
slru.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
transam.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
varsup.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
xact.c Add a warning to AtEOXact_SPI() to catch cases where the current 2003-12-02 19:26:47 +00:00
xlog.c I posted some bufmgr cleanup a few weeks ago, but it conflicted with 2003-12-14 00:34:47 +00:00
xlogutils.c I posted some bufmgr cleanup a few weeks ago, but it conflicted with 2003-12-14 00:34:47 +00:00