Re: [GENERAL] WAL history files - Pgsql 9.2

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [GENERAL] WAL history files - Pgsql 9.2
Дата
Msg-id CAB7nPqRW2L_PoGWfK5gDK_QDhPjm53n7AYjX0=RnOLUGcbv4aA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] WAL history files - Pgsql 9.2  (Patrick B <patrickbakerbr@gmail.com>)
Список pgsql-general
On Mon, Dec 12, 2016 at 9:31 AM, Patrick B <patrickbakerbr@gmail.com> wrote:
> No.. it didn't copy. i tested here. I had to manually copy the history file
> from /var/lib/pgsql/9.2/data/pg_xlogs from the new master to the same
> directory on the slaves.

An archive command is able to properly fetch the history files to
define a new timeline. If you rely only on streaming replication, only
9.3 and newer versions are able to do that: the replication protocol
has been extended at this point to allow a standby to fetch from a
primary history files.
--
Michael


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] Re: [ADMIN] Would like to below scenario is possiblefor getting page/block corruption
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] logical decoding output plugin