pgsql-server: Add cross-check that current timeline of pg_control is an

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Add cross-check that current timeline of pg_control is an
Date: 2004-07-22 21:09:37
Message-ID: 20040722210937.9BA83D1B209@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add cross-check that current timeline of pg_control is an ancestor of
recovery_target_timeline --- otherwise there is no path from the backup
to the requested timeline. This check was foreseen in the original
discussion but I forgot to implement it.

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-07-23 01:58:37 pgsql-server: Move Win32 defines from port.h to win32.h.
Previous Message Tom Lane 2004-07-22 20:18:41 pgsql-server: Add a check on file size as an additional safety check