Make archive recovery always start a new timeline, rather than only when a
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2007 01:36:39 +0000 (01:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2007 01:36:39 +0000 (01:36 +0000)
commit0e86f9caa04756137f3c9fbd9c9fd5cc02602d45
tree5f835e8b63b461d46f445bfd4e8468a60414e540
parent23b62b9ddcd3cae0d9a5dd69e8b01a3b1e754eb9
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.
doc/src/sgml/backup.sgml
src/backend/access/transam/xlog.c