Re: Proposal to add page headers to SLRU pages - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Proposal to add page headers to SLRU pages
Date
Msg-id CAJ7c6TMUY=H2Hn=YbdYimk_NfVGq1QR9UhaPsE2Zd+8rgzdZMg@mail.gmail.com
Whole thread Raw
In response to Re: Proposal to add page headers to SLRU pages  ("Andrey M. Borodin" <x4mmm@yandex-team.ru>)
List pgsql-hackers
Hi,

> +1 to the idea to protect SLRUs from corruption. I'm slightly leaning towards the idea of separating checksums from
datapages, but anyway this checksums are better than no checksums.
 
>
> On 7 Dec 2023, at 10:06, Li, Yong <yoli@ebay.com> wrote:
>
> I am still working on patching the pg_upgrade.  Just love to hear your thoughts on the idea and the current patch.
>
> FWIW you can take upgrade code from this patch [0] doing all the same stuff :)

Sounds like a half-measure to me. If we really want to go down this
rabbit hole IMO SLRU should be moved to shared buffers as proposed
elsewhere [1].

[1]: https://www.postgresql.org/message-id/EFAAC0BE-27E9-4186-B925-79B7C696D5AC@amazon.com

--
Best regards,
Aleksander Alekseev



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Emitting JSON to file using COPY TO
Next
From: Tom Lane
Date:
Subject: Re: Configure problem when cross-compiling PostgreSQL 16.1