From: Hotmail <crajac66@hotmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Can pg_checksums disable checksums enabled by initdb —data-checksums
Date: Thu, 27 Feb 2020 14:33:03 -0700
Message-ID: <BYAPR06MB4023513D1FCAE0D05F51523CD7EB0@BYAPR06MB4023.namprd06.prod.outlook.com> (raw)
In-Reply-To: <BYAPR06MB4023B6600D1A3C96736D3DF6D7EB0@BYAPR06MB4023.namprd06.prod.outlook.com>
References: <4ba366f3-1de3-4d8f-b0bf-778b8f2dd03f@Spark>
<BYAPR06MB4023B6600D1A3C96736D3DF6D7EB0@BYAPR06MB4023.namprd06.prod.outlook.com>
Well, I’ve answered my own question with the documentation for postgres 12.
Additionally, PostgreSQL 12 can now enable or disable page checksums in an offline cluster using the pg_checksums command. Previously page checksums, a feature to help verify the integrity of data stored to disk, could only be enabled at the time a PostgreSQL cluster was initialized with initdb.
On Feb 27, 2020, 8:38 AM -0700, Hotmail <crajac66@hotmail.com>, wrote:
> All,
>
> We are investigating the use of —data-checksums with initdb.
>
> My question is if a Postgres database is created with —data-checksums flag enabled with initdb is it possible to subsequently disable the checksums by shutting the database down and running disable with pg_checksums?
>
> Thanks,
>
> Craig Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: crajac66@hotmail.com
Subject: Re: Can pg_checksums disable checksums enabled by initdb —data-checksums
In-Reply-To: <BYAPR06MB4023513D1FCAE0D05F51523CD7EB0@BYAPR06MB4023.namprd06.prod.outlook.com>
References: <4ba366f3-1de3-4d8f-b0bf-778b8f2dd03f@Spark> <BYAPR06MB4023B6600D1A3C96736D3DF6D7EB0@BYAPR06MB4023.namprd06.prod.outlook.com> <BYAPR06MB4023513D1FCAE0D05F51523CD7EB0@BYAPR06MB4023.namprd06.prod.outlook.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox