Re: Get LSN at which a cluster was promoted on previous timeline

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Get LSN at which a cluster was promoted on previous timeline
Дата
Msg-id 20190105035442.GI4849@paquier.xyz
обсуждение исходный текст
Ответ на Re: Get LSN at which a cluster was promoted on previous timeline  (Jerry Sievers <gsievers19@comcast.net>)
Список pgsql-general
On Fri, Jan 04, 2019 at 08:41:35PM -0600, Jerry Sievers wrote:
> Take a look at the *.history file in pg_xlog or pg_wal.

These files are also archived.  If you want to be able to see such
contents at SQL level, you would need some parsing logic like this one
for example which is a toy of mine (this comes mainly from
rewind_parseTimeLineHistory() if I recall correctly):
https://github.com/michaelpq/pg_plugins/tree/master/wal_utils
--
Michael

Вложения

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

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: Get LSN at which a cluster was promoted on previous timeline
Следующее
От: Mitar
Дата:
Сообщение: Dropping and creating a trigger