Re: pg_stat_database.checksum_failures vs shared relations - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_stat_database.checksum_failures vs shared relations
Date
Msg-id xqxeo4ml5vchfveov26m4kfta4cif6rtedtupsx46jixokpkqe@cavgf5w747oz
Whole thread Raw
In response to Re: pg_stat_database.checksum_failures vs shared relations  (Julien Rouhaud <rjuju123@gmail.com>)
Responses Re: pg_stat_database.checksum_failures vs shared relations
List pgsql-hackers
Hi,

Attached is a fix for the issue.

I looked around and didn't find extensions using PageIsVerified[Extended]() in
codesearch.debian.org, so I got rid of the compat macro and renamed
PageIsVerifiedExtended back to PageIsVerified().

Normally I'd commit tests as part of a fix like this, but since I've already
written test infrastructure for checksum failures and their stats as part of
aio, and those tests don't work without more of aio applied, I don't think it
makes sense to write them for just this test.  It's not like anybody has ever
bothered to test checksum failures before...

Greetings,

Andres Freund

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Reducing memory consumed by RestrictInfo list translations in partitionwise join planning
Next
From: Alvaro Herrera
Date:
Subject: Re: Test to dump and restore objects left behind by regression