Re: How to use pg_waldump?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: How to use pg_waldump?
Дата
Msg-id 20200501232700.GA31289@alvherre.pgsql
обсуждение исходный текст
Ответ на RE: How to use pg_waldump?  (André Hänsel <andre@webkr.de>)
Список pgsql-general
On 2020-May-01, André Hänsel wrote:

> Paul Förster wrote:
> 
> > maybe try with another WAL file or files?
> > 
> > Works for me...
> 
> Ok, I tried it with all the files in the pg_wal directory and it
> worked with one: the first one (lexicographically/hex).

The other files have not yet been written, so pg_waldump cannot read
them.  If you can find out what was the name of the file that it had
before the recycling, you can rename (a copy of) the file to that, and
then pg_waldump will be able to read it.  (You can try brute-forcing the
search for the correct file name).

If you have an archive_command-generated archive of WALs, or
pg_receivewal, those files should all be readable by pg_waldump.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Checking for Presence of Required Libraries Fails duringPostgreSQL Upgrade
Следующее
От: TalGloz
Дата:
Сообщение: Re: Checking for Presence of Required Libraries Fails duringPostgreSQL Upgrade