Re: Enable data checksums by default

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Michael Banck <mbanck(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Enable data checksums by default
Date: 2024-08-08 17:19:14
Message-ID: CAKAnmmLzWiQwLMaRmAUDOWCnpRLG2+WEjWD2y7ab3EC5T5marA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thank you for the feedback. Please find attached three separate patches.
One to add a new flag to initdb (--no-data-checksums), one to adjust the
tests to use this flag as needed, and the final to make the actual switch
of the default value (along with tests and docs).

Cheers,
Greg

Attachment Content-Type Size
0001-Add-new-initdb-argument-no-data-checksums-to-force-checksums-off.patch application/octet-stream 1.2 KB
0002-Allow-tests-to-force-checksums-off-when-calling-init.patch application/octet-stream 3.2 KB
0003-Change-initdb-to-default-to-using-data-checksums.patch application/octet-stream 3.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2024-08-08 17:25:47 Re: Vectored IO in XLogWrite()
Previous Message Noah Misch 2024-08-08 17:13:51 Re: Add SPLIT PARTITION/MERGE PARTITIONS commands