Thread: pgsql: Make archive recovery always start a new timeline, rather than

pgsql: Make archive recovery always start a new timeline, rather than

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Make archive recovery always start a new timeline, rather than only when a
recovery stop time was used.  This avoids a corner-case risk of trying to
overwrite an existing archived copy of the last WAL segment, and seems
simpler and cleaner all around than the original definition.  Per example
from Jon Colverson and subsequent analysis by Simon.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/doc/src/sgml:
        backup.sgml (r2.95.2.2 -> r2.95.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/backup.sgml?r1=2.95.2.2&r2=2.95.2.3)
    pgsql/src/backend/access/transam:
        xlog.c (r1.258.2.1 -> r1.258.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.258.2.1&r2=1.258.2.2)