diff options
| author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1997-01-20 04:36:48 +0000 |
|---|---|---|
| committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1997-01-20 04:36:48 +0000 |
| commit | 9ff69034b22d20e656c21e6265c07394f4c46045 (patch) | |
| tree | cf31d5a5cb8763349521dad57cc5f39e7bb53982 /src/backend/parser/parser.c | |
| parent | deef313fd09fd8ccce0ed9c92dd813b66044c83e (diff) | |
| download | postgresql-9ff69034b22d20e656c21e6265c07394f4c46045.tar.gz | |
Fixing possible losing data changes:
1. New flag - BM_JUST_DIRTIED - added for BufferDesc;
2. All data "dirtiers" (WriteBuffer and WriteNoReleaseBuffer)
set this flag (and BM_DIRTY too);
3. All data "flushers" (FlushBuffer, BufferSync and BufferReplace)
turn this flag off just before calling smgr[blind]write/smgrflush
and check this flag after flushing buffer: if it turned ON then
BM_DIRTY will stay ON.
Diffstat (limited to 'src/backend/parser/parser.c')
0 files changed, 0 insertions, 0 deletions
