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

From Tom Lane
Subject Re: Why we don't have checksums on clog files
Date
Msg-id 21784.1465786494@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why we don't have checksums on clog files  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Why we don't have checksums on clog files  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
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.)
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Why we don't have checksums on clog files
Next
From: Thomas Munro
Date:
Subject: ERROR: ORDER/GROUP BY expression not found in targetlist