Re: Enable data checksums by default - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: Enable data checksums by default
Date
Msg-id CAKAnmmLStnvW=v_GT20Amj4WeOW9tOZA09Kf9uiKnQEwrMySHA@mail.gmail.com
Whole thread Raw
In response to Re: Enable data checksums by default  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Enable data checksums by default
List pgsql-hackers
On Mon, Aug 26, 2024 at 3:46 PM Nathan Bossart <nathandbossart@gmail.com> wrote:
Should we error if both --data-checksum and --no-data-checksums are
specified?  IIUC with 0001, we'll use whichever is specified last.

Hmmm, that is a good question. We have never (to my recollection) flipped a default quite like this before. I'm inclined to leave it as "last one wins", as I can see automated systems appending their desired selection to the end of the arg list, and expecting it to work.

nitpick: these 4 patches are small enough that they could likely be combined and committed together.

This was split per request upthread, which I do agree with.

I think it's fair to say we should make the pg_upgrade experience nicer once the default changes, but IMHO that needn't block actually changing the default.

+1

Cheers,
Greg


 

pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM
Next
From: Greg Sabino Mullane
Date:
Subject: Re: Better error message when --single is not the first arg to postgres executable