Skip site navigation (1) Skip section navigation (2)

pgsql-server: Add a check on file size as an additional safety check

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Add a check on file size as an additional safety check
Date: 2004-07-22 20:18:41
Message-ID: 20040722201841.740A9D1B17B@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Add a check on file size as an additional safety check that a WAL file
recovered from archive is not corrupt.  It's not much but it will catch
one common problem, viz out-of-disk-space.
Also, force a WAL recovery scan when recovery.conf is present, even if
pg_control shows a clean shutdown.  This allows recovery with a tar backup
that was taken with the postmaster shut down, as per complaint from
Mark Kirkwood.

Modified Files:
--------------
    pgsql-server/src/backend/access/transam:
        xlog.c (r1.150 -> r1.151)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/access/transam/xlog.c.diff?r1=1.150&r2=1.151)

pgsql-committers by date

Next:From: Tom LaneDate: 2004-07-22 21:09:37
Subject: pgsql-server: Add cross-check that current timeline of pg_control is an
Previous:From: Bruce MomjianDate: 2004-07-22 12:24:13
Subject: pgsql-server: Updated wording: > * Have psql show current values for a

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group