Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j7Qme-0005b1-6V for pgsql-admin@arkaria.postgresql.org; Thu, 27 Feb 2020 21:33:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j7Qmc-000258-Vo for pgsql-admin@arkaria.postgresql.org; Thu, 27 Feb 2020 21:33:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j7Qmc-000251-0h for pgsql-admin@lists.postgresql.org; Thu, 27 Feb 2020 21:33:26 +0000 Received: from mail-mw2nam10olkn2015.outbound.protection.outlook.com ([40.92.42.15] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j7QmY-0005GN-50 for pgsql-admin@lists.postgresql.org; Thu, 27 Feb 2020 21:33:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B9K+j2cmKeaiCSWCq1p5fPF8s8lp9SfIEwcQdOx0jHrY7nfJowH5m23vi6qKXq8ZbuzUwaqNZVrulp1MTl1evPm70RY4pKGPJjCgEkS1h3GK8QwD2ptn+C/YmyXGtXORIzbhB3/DzCjpoYWMxBGQRK5S4OqozxCwhuQ/xtf2Jhc9NPE6f3bHzdjxlFpOmVfuG2cPTzI+rHKfq8aW23bepppVFwBKPAQRY3DjnhhHlwHAsPoIpAphWm1BAB39zSTAx6aIlf5iUtewGJ0Wb7MDv7n0Fmg5kFzghOfE3pp5DqQLEp6I9w4rXrRbCy7B9ccaChFKAtVsVOSnuJ/LKTZUpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EcbL90709rSdNqQ2poO/mXbxfkdC1DMUAhGwLXjfkqs=; b=eyhFBGX1SHec5vYoEh8tNFAcNetd2xXxL3Ti93uUoLir3Fx3zAxcVRqkmd5oHXvkSFBDJbq0ARi5AsCtg5elhcBuKLCOImDEeJSnJNMCa0arJn9K3NL/JV3fE1EmpExTB+0rnfeJ2EoAZysU4Wu2/hVKdJbBso36HO3bSdrVQkWmwA5YNvsnohN1kZLNRhAvOKcrn4W260Ik9v32Fg+KgW1lmbHpOBW5l0JG7b01I4YxOKExwMwp/LjM9itiEFAqFCJAcp2DB8Ua9+vECRbQA8A+ezYFsK8iL3UVQ4xeOjhnRvgmMlqAE3zpV2vuLsN6IEro7IVknZaxb+jiSoK5EQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hotmail.com; dmarc=pass action=none header.from=hotmail.com; dkim=pass header.d=hotmail.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EcbL90709rSdNqQ2poO/mXbxfkdC1DMUAhGwLXjfkqs=; b=kADqPLsQ1yQTRieUb0AF4fenn8rvcsP8FrHhjfP3cqnEL+46KoGye0HfLvXd/+OA3HSJnqRO75bkFo/usVJlL1tSCZV3Qnn7b7hfVTjOT/4KlsFp5dIyLYIHIi0fWXFGMiM1IodEIafPv61KaxMgfzmqvcOI/Zhyn4CSbvGSl0KSlZMGiDXbeqoDpSNwPvWmr5idXeuMUGaCxdUXEkVONhnVpqHGpRti3X/ZY6U92IuiTDB/glmBUp+tiBJh2PUXzsqOVcpQRAlVEALNuytjqJkdwmj9vtl/6M0aByVFkbTbR0t9iwo77rJ1QAuuP0t47RNx7Cy1yqY3OcfF6NKGHQ== Received: from DM6NAM10FT046.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e86::35) by DM6NAM10HT136.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e86::292) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Thu, 27 Feb 2020 21:33:15 +0000 Received: from BYAPR06MB4023.namprd06.prod.outlook.com (10.13.152.53) by DM6NAM10FT046.mail.protection.outlook.com (10.13.153.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.14 via Frontend Transport; Thu, 27 Feb 2020 21:33:15 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:74F2DFB1A5B002D15E2061A1A513E4B9ADFB4876CDEE35D2D4A53CB089E9C1D7;UpperCasedChecksum:C31F29E93FA8432360F9FD674B83EE43A62C9434C24CDE6DEFFD7D24218F599F;SizeAsReceived:8879;Count:48 Received: from BYAPR06MB4023.namprd06.prod.outlook.com ([fe80::75a0:cccd:3903:6348]) by BYAPR06MB4023.namprd06.prod.outlook.com ([fe80::75a0:cccd:3903:6348%7]) with mapi id 15.20.2772.012; Thu, 27 Feb 2020 21:33:11 +0000 Date: Thu, 27 Feb 2020 14:33:03 -0700 From: Hotmail To: pgsql-admin@lists.postgresql.org Message-ID: In-Reply-To: References: <4ba366f3-1de3-4d8f-b0bf-778b8f2dd03f@Spark> Subject: Re: Can pg_checksums disable checksums enabled by initdb =?utf-8?Q?=E2=80=94data-checksums?= X-Readdle-Message-ID: a24f4e63-8878-483b-ac12-236554ff2331@Spark Content-Type: multipart/alternative; boundary="5e583594_66ef438d_59d0" X-ClientProxiedBy: BY5PR03CA0029.namprd03.prod.outlook.com (2603:10b6:a03:1e0::39) To BYAPR06MB4023.namprd06.prod.outlook.com (2603:10b6:a02:84::17) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.86.23] (73.181.75.212) by BY5PR03CA0029.namprd03.prod.outlook.com (2603:10b6:a03:1e0::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15 via Frontend Transport; Thu, 27 Feb 2020 21:33:10 +0000 X-Readdle-Message-ID: a24f4e63-8878-483b-ac12-236554ff2331@Spark X-Microsoft-Original-Message-ID: X-TMN: [XjrbStBQBMKmvLqZ3agQgkzRfngOX9jI] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: fca23c1d-c137-4dc0-929d-08d7bbcca4a0 X-MS-TrafficTypeDiagnostic: DM6NAM10HT136: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n216KAMWdmLUmFhhOApyPYujljachDPr2OcgYFTk5DIugdzhZOJa8AKQfC+eRAY11tWNXvLrTcpotZilyQo4Odw6WkCB8v8ie0O0cDyp8x1TGg0sSjQu8fhkkPayTZiStEpq8rvy76rHgEPTD5DBgf/d/Kxyyus4nhhmk8+Y78IbmmAg/D6nts0OfGDoWKTzn0oYNCOkOCQ0Dz974I55Av4CLtUtMpZdyaBO3udJPTY= X-MS-Exchange-AntiSpam-MessageData: nrWu4nSqpzXiV1Ytlhy7tBvONWaOiYsr2zHY/+DX809dMgCvkC56bVQLWsxrVdFbl3fbLSnW8NQgQuBZh05Jin60dDoH7qYGgWft30uE5SgiiteiIfJDY+CCU1K6dPUHPgb+Ndo6hX53Rncd11jLPg== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: fca23c1d-c137-4dc0-929d-08d7bbcca4a0 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2020 21:33:11.8146 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM10HT136 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --5e583594_66ef438d_59d0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Well, I=E2=80=99ve answered my own question with the documentation for po= stgres 12. Additionally, PostgreSQL 12 can now enable or disable page checksums in a= n offline cluster using the=C2=A0pg=5Fchecksums=C2=A0command. 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 initiali= zed with=C2=A0initdb. On =46eb 27, 2020, 8:38 AM -0700, Hotmail , wrote= : > All, > > We are investigating the use of =E2=80=94data-checksums with initdb. > > My question is if a Postgres database is created with =E2=80=94data-che= cksums flag enabled with initdb is it possible to subsequently disable th= e checksums by shutting the database down and running disable with pg=5Fc= hecksums=3F > > Thanks, > > Craig Jackson --5e583594_66ef438d_59d0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Well, I=E2=80=99ve answered my own question with the docu= mentation for postgres 12. 

Additionally, PostgreSQL 12 can now = enable or disable page checksums in an offline cluster using the pg_checksums command. Previously pa= ge 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 wi= th initdb.

On Feb 27, 2020, 8:38 AM -0700, Hotmail &= lt;crajac66@hotmail.com>, wrote:
All,

We are investigating the use of =E2=80=94data-checksums w= ith initdb. 

My question is if a Postgres database is created with =E2= =80=94data-checksums flag enabled with initdb is it possible to subsequentl= y disable the checksums by shutting the database down and running disable w= ith pg_checksums?

Thanks, 

Craig Jackson 
--5e583594_66ef438d_59d0--