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