- Notifications
You must be signed in to change notification settings - Fork28
Commit95a03e9
committed
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 theerror behavior a bit more transparent (IMHO anyway), and also makes itwork 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, butseems not to have committed yet.1 parentaeee856 commit95a03e9
File tree
6 files changed
+326
-426
lines changed- src
- backend/storage/buffer
- include/storage
6 files changed
+326
-426
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments
Comments
(0)