diff options
| author | Tom Lane | 2004-08-11 04:08:02 +0000 |
|---|---|---|
| committer | Tom Lane | 2004-08-11 04:08:02 +0000 |
| commit | d508e0ddd23a35b9cb30ec1a769de40e98d5561f (patch) | |
| tree | 1880529858bde1f01601074dd3767dc6879cb562 /src/include | |
| parent | a1dd58e50990b5a1740371b16a1bd1ccb0721b3e (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 7b2a4c92154..6f61eb20fdf 100644 --- a/src/include/storage/lwlock.h +++ b/src/include/storage/lwlock.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: lwlock.h,v 1.8 2003/08/04 02:40:14 momjian Exp $ + * $Id: lwlock.h,v 1.8.4.1 2004/08/11 04:08:02 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -37,6 +37,7 @@ typedef enum LWLockId WALWriteLock, ControlFileLock, CheckpointLock, + CheckpointStartLock, RelCacheInitLock, NumFixedLWLocks, /* must be last except for |
