Re: warning message in standby

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: warning message in standby
Дата
Msg-id 4C29C3BA0200002500032CDC@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: warning message in standby  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: warning message in standby  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> wrote:
>> If someone is sloppy about how they copy the WAL files around,
>> they could temporarily have a truncated file.
> 
> Can you explain the scenario you're concerned about in more
> detail?
If someone uses cp or scp to copy a WAL file from the pg_xlog
directory to an archive directory, there will be a window of time
where the file exists and is not complete.  If you wait "a while"
(that being a duration which could be highly variable, depending on
the specifics of the environment and copy techniques used), the
missing part of the file will materialize.
-Kevin


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Look-behind regular expressions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Keepalives win32