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

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql-server: Add a check on file size as an additional safety check
Date
Msg-id 20040722201841.740A9D1B17B@svr1.postgresql.org
Whole thread Raw
List 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:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql-server: Updated wording: > * Have psql show current values for a
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server: Add cross-check that current timeline of pg_control is an