diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-08-11 04:08:40 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-08-11 04:08:40 +0000 |
| commit | 25ad99245a605204076150358ad4e296fa14968f (patch) | |
| tree | 31971bf0ce5e19d5a81e612f22b3eae18048d8c2 /src/include | |
| parent | 144dc305541d031f0521eba8775216d35e973a5d (diff) | |
Fix failure to guarantee that a checkpoint will write out pg_clog updates
for transaction commits that occurred just before the checkpoint. This is
an EXTREMELY serious bug --- kudos to Satoshi Okada for creating a
reproducible test case to prove its existence.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/lwlock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/storage/lwlock.h b/src/include/storage/lwlock.h index e061cd82b7e..f6e12a94885 100644 --- a/src/include/storage/lwlock.h +++ b/src/include/storage/lwlock.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: lwlock.h,v 1.6 2002/06/20 20:29:52 momjian Exp $ + * $Id: lwlock.h,v 1.6.2.1 2004/08/11 04:08:40 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -37,6 +37,7 @@ typedef enum LWLockId WALWriteLock, ControlFileLock, CheckpointLock, + CheckpointStartLock, CLogControlLock, RelCacheInitLock, |
