Re: missing history file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: missing history file
Дата
Msg-id 5332.1183135679@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: missing history file  ("George Wilk" <gwilk@ellacoya.com>)
Ответы Re: missing history file  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-admin
"George Wilk" <gwilk@ellacoya.com> writes:
> When and by what process is the history file being created?  My standby
> server seems to be looking for it when put back in the recovery mode, after
> functioning as primary for a while.
> How should I handle missing history file in my script?

History files are only created when you do a PITR recovery that stops
short of the end of WAL (ie, you gave it an explicit stopping point
criterion).  So basically they never appear except by manual
intervention on the primary server.  A standby script should probably
handle requests for them by looking to see if they're available, and
returning 'em if so, but not waiting if they are not.

Offhand I would recommend the same strategy for any requested filename
that's not a plain WAL segment file (ie, all hex digits).

            regards, tom lane

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: missing history file
Следующее
От: "Radhika Sambamurti"
Дата:
Сообщение: Linking libraries problem after Postgres-8.2.0 install]