Skip site navigation (1) Skip section navigation (2)

pgsql-server/src include/storage/buf_internals ...

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src include/storage/buf_internals ...
Date: 2004-04-21 18:06:31
Message-ID: 20040421180631.0A38ED1B518@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl(at)svr1(dot)postgresql(dot)org	04/04/21 15:06:30

Modified files:
	src/include/storage: buf_internals.h bufmgr.h 
	src/backend/storage/buffer: buf_init.c bufmgr.c freelist.c 
	                            localbuf.c 

Log message:
	Another round of code cleanup on bufmgr.  Use BM_VALID flag to keep track
	of whether we have successfully read data into a buffer; this makes the
	error behavior a bit more transparent (IMHO anyway), and also makes it
	work correctly for local buffers which don't use Start/TerminateBufferIO.
	Collapse three separate functions for writing a shared buffer into one.
	This overlaps a bit with cleanups that Neil proposed awhile back, but
	seems not to have committed yet.


pgsql-committers by date

Next:From: Tom LaneDate: 2004-04-21 18:24:27
Subject: pgsql-server/src backend/access/heap/heapam.c ...
Previous:From: Peter EisentrautDate: 2004-04-21 13:18:30
Subject: pgsql-server/doc/src/sgml runtime.sgml

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group