Re: Why we don't have checksums on clog files - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Why we don't have checksums on clog files
Date
Msg-id CA+TgmoaCsmKfB_Sv0QOMJ2wjPcY7U4N8y=sk=Y3ztxSpoCfJNg@mail.gmail.com
Whole thread Raw
In response to Re: Why we don't have checksums on clog files  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Jun 12, 2016 at 10:54 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Tue, Jun 7, 2016 at 10:41 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>>> I think it will be better if users can have an option to checksum clog
>>> pages.  However, I think that will need a change in page (CLOG-page) format
>>> which might not be a trivial work to accomplish.
>
>> Doesn't the pd_checksum field exist on SLRU pages also?
>
> Uh, no.
>
> (I don't think that's an inherent property of slru.c, but definitely
> clog.c packs the pages totally fully of xact status bits.  See
> CLOG_XACTS_PER_PAGE.

Oh.  Well, that makes it harder, then.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Rename max_parallel_degree?
Next
From: Ants Aasma
Date:
Subject: Re: WIP: Data at rest encryption