Re: Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file
Дата
Msg-id 4A031D6A.4050605@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Simon Riggs wrote:
> On Thu, 2009-05-07 at 18:57 +0300, Heikki Linnakangas wrote:
>> I don't see any user error here.
> 
> Just observing that the error occurs because we rely on a file being
> there when we haven't even documented that it needs to be there for it
> to work. File deletion with %r from the archive would not have removed
> that file at that point. We should have an explicit statement about
> which files can be deleted from the archive and which should not be, but
> in general it is dangerous to remove files that have not been explicitly
> described as removable.

When you create a new base backup, you shouldn't need any files archived 
before starting the backup. You might not even have had archiving 
enabled before that, or you might change archive_command to archive into 
a new location before tarting the backup.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Serializable Isolation without blocking
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Some 8.4 changes needed according to pg_migrator testing