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

Поиск
Список
Период
Сортировка
Искать

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

От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl@svr1.postgresql.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.

FAQ