pg_waldump got an error with waldump file generated by initdb - Mailing list pgsql-hackers

From Dong Wook Lee
Subject pg_waldump got an error with waldump file generated by initdb
Date
Msg-id 20220710125002.s2xfyrpovszm2brs@home-desktop
Whole thread Raw
Responses Re: pg_waldump got an error with waldump file generated by initdb
List pgsql-hackers
Hi, hackers

I don't know if this is an error.
when I do ./initdb -D ../data and execute pg_waldump like this, In the last part I got an error.

```
./pg_waldump ../data/pg_wal/000000010000000000000001
```

pg_waldump: error: error in WAL record at 0/1499990: invalid record length at 0/1499A08: wanted 24, got 0

my environment is `16devel on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, 64-bit`
Is this normal?




pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: First draft of the PG 15 release notes
Next
From: Tom Lane
Date:
Subject: Re: Compilation issue on Solaris.