git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: aeee856) | patch
Another round of code cleanup on bufmgr. Use BM_VALID flag to keep track
2004年4月21日 18:06:30 +0000 (18:06 +0000)
2004年4月21日 18:06:30 +0000 (18:06 +0000)
commit 95a03e9cdf7e0e33c2655dd20d2b64db191f3a21
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.
src/backend/storage/buffer/buf_init.c diff | blob | blame | history
src/backend/storage/buffer/bufmgr.c diff | blob | blame | history
src/backend/storage/buffer/freelist.c diff | blob | blame | history
src/backend/storage/buffer/localbuf.c diff | blob | blame | history
src/include/storage/buf_internals.h diff | blob | blame | history
src/include/storage/bufmgr.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /