Hi! Thanks for looking into this!

> On 12 Jan 2025, at 23:36, Kirill Reshke <reshkekir...@gmail.com> wrote:
> 
> initdb fails when configured with --without-zstd

Yes, the patch is intended to demonstrate improvement when using Zstd.

> On 12 Jan 2025, at 17:43, Andrey M. Borodin <x4...@yandex-team.ru> wrote:
> 
> WAL_DEBUG and wal_compression are enabled for debugging purposes. Of course, 
> I do not propose to turn them on by default.

And this does not work well --without-zstd.

> Also pg_waldump fails with
> 
> ```
> corrupted size vs. prev_size
> Aborted (core dumped)
> ```

I’ll fix that, thanks!
Also seems like I forgot to bump WAL_FILE_MAGIC…

What do you think about proposed approach?


Best regards, Andrey Borodin.

Reply via email to