Code review for ARC patch. Eliminate static variables, improve handling
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Apr 2004 23:27:17 +0000 (23:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Apr 2004 23:27:17 +0000 (23:27 +0000)
commit011c3e62e78b02a573f6f59ce78b1e7515d380c0
tree19c3c8ab77264aa49421cd432025f0fa25edbf60
parent8f73bbae854b71bea6a544941886f072829beb72
Code review for ARC patch.  Eliminate static variables, improve handling
of VACUUM cases so that VACUUM requests don't affect the ARC state at all,
avoid corner case where BufferSync would uselessly rewrite a buffer that
no longer contains the page that was to be flushed.  Make some minor
other cleanups in and around the bufmgr as well, such as moving PinBuffer
and UnpinBuffer into bufmgr.c where they really belong.
src/backend/storage/buffer/README
src/backend/storage/buffer/buf_init.c
src/backend/storage/buffer/buf_table.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/freelist.c
src/backend/storage/ipc/ipci.c
src/include/storage/buf_internals.h