Re: [BUG] Archive recovery failure on 9.3+.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: [BUG] Archive recovery failure on 9.3+.
Дата
Msg-id 52CF09E3.5020706@vmware.com
обсуждение исходный текст
Ответ на Re: [BUG] Archive recovery failure on 9.3+.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 01/09/2014 10:36 PM, Tom Lane wrote:
> Heikki Linnakangas <hlinnakangas@vmware.com> writes:
>> On 01/09/2014 10:16 PM, Tom Lane wrote:
>>> Don't we want to archive both?  If you want to recover to the end of the
>>> old timeline, you're going to need that file too, no?
>
>> Hmm. It should be the responsibility of the original server to archive
>> the segment on the old timeline.
>
> Oh ... I was thinking about the case of a timeline switch within one
> server, say as a result of PITR recovery.  If you're sure this same case
> doesn't come up that way, then nevermind.

I'm not sure what you mean, but it does apply to same-server PITR 
recovery too. In that case, again, if you copy the partial segment to 
pg_xlog when doing the PITR recovery, clearly you already somehow have 
access to the partial segment, and if you want to do another PITR to the 
same point, you should just copy it again.

- Heikki



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUG] Archive recovery failure on 9.3+.
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [BUG] Archive recovery failure on 9.3+.