Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1snaGR-004dI3-Ah for pgsql-admin@arkaria.postgresql.org; Mon, 09 Sep 2024 09:00:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1snaGQ-008lOX-Vb for pgsql-admin@arkaria.postgresql.org; Mon, 09 Sep 2024 09:00:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1snaGQ-008lJQ-F3 for pgsql-admin@lists.postgresql.org; Mon, 09 Sep 2024 09:00:50 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1snaGM-000GzE-EG for pgsql-admin@postgresql.org; Mon, 09 Sep 2024 09:00:49 +0000 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2d87196ec9fso2630574a91.1 for ; Mon, 09 Sep 2024 02:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bitnine-net.20230601.gappssmtp.com; s=20230601; t=1725872445; x=1726477245; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ct5/AOD6S4tQqLWak5ZJNLQv+XMvMxP2m7stmG0Nn9I=; b=gGvaXQloioglKo82PWmHKU6Vg1soN3BRVzeDz3UhqTGoIOYmnz1e/qH+G/G2CO2TgJ FuLyVI/wDyp3kpkdL9H2UixQj2UKKPKGM9KVUAi6JbIKdLW6IniAKgGSnbfKgnbex/gj El/L3WYJduz5/KxdW481dhiY8amnycKdI1lzBpnyXyT3XVRpPlwp+i3A7tRmp4N+gAjc yJji0V+1Q4azvctD4D3+Z5wGAr/+hEfPVWq81DNQ1udBeygSg6hDIUFCOIL6GVfA8E92 qca0gt0ravIM3q357HK2Gdne52GBrlAj3AlKREvtnDovy8w/4iPFbbIvLLIMeKbO21Nb aw2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725872445; x=1726477245; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ct5/AOD6S4tQqLWak5ZJNLQv+XMvMxP2m7stmG0Nn9I=; b=SFz17zKKlU2UAx2+8W0fXEpyl5C8rON3eHPU4avS8W7Z+D5b2urCyVJSAvMAVblOx7 AWP1E0c1+08WbIaEGjbUqxAinm550DOcijz+fslRkjVz7um35mvQIhH6bJDtCtcjfQDf cgZXghp5Rbo2ktyYoPBzpY7KEOHGbZFbrcxr/Sg5utCfF5xvP6/4ILuJgpni7js+HR1x 7zPyH8n07uZcfuX4K9oVpbDXhKFkGNWfLU3HfYoQ0RkkAY5rSQr6zCpdgWOmcDhlaKd9 MZBpooaEcbQ3OtD7XDW5TojGhBflm3Vl/V0JS0TqyU7sr0R7lhqzYI7JpNtNy3A+ZG0g F4Yg== X-Forwarded-Encrypted: i=1; AJvYcCUKQKzYhMZiaBMksbTrS0nNg2xeUcU87j08UvvmrGdxLr5lv4QnmAVPVwRJjfRfbBQv0liKVdWGHibhIA==@postgresql.org X-Gm-Message-State: AOJu0YyNBEGMg/se529t7LtYufPmFkGuhIbA7xabibnGjrH+Ia2SuGDw wYWC0IAJt65epYUgnowcFGMaV59wGsjVhtWDhROiryxwRz4U2G0M+7U0lL5bImRe3wCVl6ABykS gOqWLaGXA55eDYI6CSTI52chw9jqhBT8idUSQXQ== X-Google-Smtp-Source: AGHT+IF9MOtrwdlJW2yyiz8iqF82OhE+lC1FwqKDgn77nSKxLZ1EPV3lP3RQ9khwJk+6glfXfSN2uRAZ7bzJxhXAhAw= X-Received: by 2002:a17:90b:390f:b0:2d3:de40:d767 with SMTP id 98e67ed59e1d1-2dad5022ae7mr9612839a91.24.1725872444759; Mon, 09 Sep 2024 02:00:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Muhammad Usman Khan Date: Mon, 9 Sep 2024 14:00:33 +0500 Message-ID: Subject: Re: data_checksums = off To: Wasim Devale Cc: Pgsql-admin , pgsql-admin Content-Type: multipart/alternative; boundary="000000000000ff80360621abfdda" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ff80360621abfdda Content-Type: text/plain; charset="UTF-8" Hi, You need to initialize new directory with cheksums sudo -u postgres initdb -D /path/to/new/data/directory --data-checksums Make sure to adjust permissions of data directory On Mon, 9 Sept 2024 at 13:54, Wasim Devale wrote: > Hi All > > The data_checksums option is off in pg_settings and it is a preset option > to do while doing initialisation of data directory. I can not use alter > command any solutions to it? > > Thanks, > Wasim > --000000000000ff80360621abfdda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,
You need to initialize new directory with cheksums

sudo -u= postgres initdb -D /path/to/new/data/directory --data-checksums
Make=C2= =A0sure to adjust permissions of data directory

=
= On Mon, 9 Sept 2024 at 13:54, Wasim Devale <wasimd60@gmail.com> wrote:
Hi All

<= /div>
The data_checksums option is off in pg_settings and = it is a preset option to do while doing initialisation of data directory. I= can not use alter command any solutions to it?

=
Thanks,
Wasim
--000000000000ff80360621abfdda--