Checksums and full_page_writes - Mailing list pgsql-general

From Borodin Vladimir
Subject Checksums and full_page_writes
Date
Msg-id EC425466-3226-48D2-B7BE-D9E223CE91E7@simply.name
Whole thread Raw
Responses Re: Checksums and full_page_writes
List pgsql-general
Hi all.

I’ve read thread [0], src/backend/storage/page/README and everything I found in the documentation about checksums [1, 2] but I haven’t understood what is my risk if I enable checksums during initdb and turn off full_page_writes?

Am I right that I can get torn pages on disk in that case but I will somehow know about it during checksum checking when this page will be read from disk to shared buffers? And is there any way to recover such torn page (from replica or backup+archived logs, for example)?

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Check constraint on foreign table using SQL function
Next
From: Sameer Kumar
Date:
Subject: Re: help troubleshooting invalid page header error