| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-04-21 18:24:27 | pgsql-server/src backend/access/heap/heapam.c ... |
| Previous Message | Peter Eisentraut | 2004-04-21 13:18:30 | pgsql-server/doc/src/sgml runtime.sgml |