From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make the world safe for full_page_writes. |
Date: | 2006-04-14 20:27:24 |
Message-ID: | 20060414202724.077AD11F65C0@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Make the world safe for full_page_writes. Allow XLOG records that try to
update no-longer-existing pages to fall through as no-ops, but make a note
of each page number referenced by such records. If we don't see a later
XLOG entry dropping the table or truncating away the page, complain at
the end of XLOG replay. Since this fixes the known failure mode for
full_page_writes = off, revert my previous band-aid patch that disabled
that GUC variable.
Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.234 -> r1.235)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c.diff?r1=1.234&r2=1.235)
xlogutils.c (r1.43 -> r1.44)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlogutils.c.diff?r1=1.43&r2=1.44)
pgsql/src/backend/storage/smgr:
smgr.c (r1.98 -> r1.99)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/smgr/smgr.c.diff?r1=1.98&r2=1.99)
pgsql/src/include/access:
xlogutils.h (r1.20 -> r1.21)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/xlogutils.h.diff?r1=1.20&r2=1.21)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2006-04-14 22:26:22 | pgsql: Done: > * -Re-enable the GUC full_page_writes in 8.2 when |
Previous Message | User Shachar | 2006-04-14 20:12:27 | oledb - oledb: Revert misplaced initialization of ulColumnSize |