Re: missing history file

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: missing history file
Дата
Msg-id 1183368957.3589.160.camel@silverbirch.site
обсуждение исходный текст
Ответ на Re: missing history file  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On Fri, 2007-06-29 at 10:52 -0400, Tom Lane wrote:
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > Just ignore 00000001. Recovery will work fine even if absent. Don't
> > ignore all history files though, just that one. Hmmm, come to think of
> > it, why is it requesting it at all? We should just skip that request.
>
> No, because then people would misdesign their recovery scripts to not
> be able to deal with not finding a history file.  As things are, they
> will certainly be exposed to that case in any testing they do.  If we
> optimize this call away, then they won't see the case until they're in
> very deep doo-doo.

Main reason for suggesting this is that there is already code to
optimize the call away in one place, but not in another, which seems
strange either way.

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com



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

Предыдущее
От: Joe Barwell
Дата:
Сообщение: Re: initdb problem
Следующее
От: "Yuan HOng"
Дата:
Сообщение: