From: André Hänsel <andre@webkr.de>
To: 'Paul Förster' <paul.foerster@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: RE: How to use pg_waldump?
Date: Fri, 1 May 2020 14:33:44 +0200
Message-ID: <0c2c01d61fb4$c36d8fc0$4a48af40$@webkr.de> (raw)
In-Reply-To: <901FFF6E-A79A-4C34-AE51-62743325F925@gmail.com>
References: <0c1c01d61fa5$f4f23ff0$ded6bfd0$@webkr.de>
<901FFF6E-A79A-4C34-AE51-62743325F925@gmail.com>
Paul Förster wrote:
> try:
>
> pg_waldump -p /var/lib/postgresql/11/main/pg_wal <start-wal> [<end-wal>]
>
> where <start-wal> is the name of the WAL file to start and (optionally) <end-wal> is the WAL file to stop. It reads and shows all information of the WAL files in this range.
Picking a random WAL file and running the command gives me:
pg_waldump: FATAL: could not find a valid record after 2F/6C000000
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andre@webkr.de, paul.foerster@gmail.com
Subject: Re: How to use pg_waldump?
In-Reply-To: <0c2c01d61fb4$c36d8fc0$4a48af40$@webkr.de>
References: <0c1c01d61fa5$f4f23ff0$ded6bfd0$@webkr.de> <901FFF6E-A79A-4C34-AE51-62743325F925@gmail.com> <0c2c01d61fb4$c36d8fc0$4a48af40$@webkr.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox