Обсуждение: pgsql: Make archive recovery always start a new timeline, rather than

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        backup.sgml (r2.102 -> r2.103)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/backup.sgml?r1=2.102&r2=2.103)
    pgsql/src/backend/access/transam:
        xlog.c (r1.282 -> r1.283)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.282&r2=1.283)