From 3fdf649f4fc8a21ba4cec1db7f3fe7bb1105b00c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 11 Aug 2004 04:07:16 +0000 Subject: 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. --- src/include/storage/lwlock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/storage/lwlock.h b/src/include/storage/lwlock.h index b1f6fc9510..7b08231e51 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 * - * $PostgreSQL: pgsql/src/include/storage/lwlock.h,v 1.12 2004/06/11 16:43:24 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/lwlock.h,v 1.13 2004/08/11 04:07:16 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -36,6 +36,7 @@ typedef enum LWLockId WALWriteLock, ControlFileLock, CheckpointLock, + CheckpointStartLock, RelCacheInitLock, BgWriterCommLock, -- cgit v1.2.1