Re: Possible inaccurate description of wal_compression in docs - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: Possible inaccurate description of wal_compression in docs
Date
Msg-id B1F577F8-3048-487B-B20E-15D2239DBBD3@yandex-team.ru
Whole thread Raw
In response to Possible inaccurate description of wal_compression in docs  (Jingtang Zhang <mrdrivingduck@gmail.com>)
Responses Re: Possible inaccurate description of wal_compression in docs
Re: Possible inaccurate description of wal_compression in docs
List pgsql-hackers

> On 10 Aug 2025, at 13:53, Jingtang Zhang <mrdrivingduck@gmail.com> wrote:
>
> Hi hackers~
>
> I find the specification of wal_compression in our docs a little bit confusing
> for it 'compress full page images when FPW is on or during a base backup',
> which was true before v17. Since v17, we will also use full page images for
> creating index or table rewrites through bulk write, so it is inaccurate.
>
> Should we change the doc a little bit: 'compress full page images written
> to WAL, **like** when FPW is on, or during a base backup', if we may use
> FPI in other places in the future?

FPWs are used here and there in a lot of places, like "FPI for hint". And indexes are build using FPI for many years,
itdid not start with 17... 
This list is not exhaustive in any case, so I agree that formulation should not be very strict.

Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: Possible inaccurate description of wal_compression in docs
Next
From: "David E. Wheeler"
Date:
Subject: Re: Generate GUC tables from .dat file