Re: Data checksum with pg upgradecluster

From: "Karsten Hilbert" <Karsten(dot)Hilbert(at)gmx(dot)net>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Data checksum with pg upgradecluster
Date: 2017-08-06 12:43:35
Message-ID: trinity-c2e72d0a-80f4-419a-b997-c92c77eeedb3-1502023415857@3capp-gmx-bs24
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I'm updating my database from 9.4 to 9.6 (Debian Jessie to Stretch). I
> think that it is a good opportunity to turn on data checksum.
>
> I don't have experience with cluster creation or moving a DB to a new cluster.
>
> I'll use pg_upgradecluster, but I don't see any option to turn of data checksum.
>
> I took a look to the pg_upgradecluster script. I think that it invokes
> pg_createcluster. Therefore I think that I should get data checksums
> if I add in the file /etc/postgresql-common/createcluster.conf the
> following line:
> initdb_options = '--data-checksums'
>
> Is this correct?

Yes. Been there done that.

Karsten

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dan Cooperstock at Software4Nonprofits 2017-08-06 17:40:44 Re: PostgreSQL with PowerBuilder, and Identity keys (serials)
Previous Message Dan 2017-08-06 12:15:27 Data checksum with pg upgradecluster