From: | shashidhar Reddy <shashidharreddy001(at)gmail(dot)com> |
---|---|
To: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Unable to use pg_verify_checksums |
Date: | 2022-11-04 10:08:21 |
Message-ID: | CAH=zU4ss=ca94YhJmCu1Guru6Zs=0dK6r2jNRG2wFujjBu+3BA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thank you Guillaume!
On Fri, 4 Nov, 2022, 12:49 pm Guillaume Lelarge, <guillaume(at)lelarge(dot)info>
wrote:
> Hi,
>
> Le ven. 4 nov. 2022 à 07:12, shashidhar Reddy <
> shashidharreddy001(at)gmail(dot)com> a écrit :
>
>> Hello,
>>
>> I am using postgres version 11, in the process of upgrade
>> using pg_upgrade I am trying to run checksums on version 11 but getting
>> error
>>
>> pg_verify_checksums: data checksums are not enabled in cluster
>>
>> when trying to enable /pg_verify_checksums: unrecognized option '--enable'
>>
>>
> Yeah, that's why it's called pg_verify_checksums: it only does a check of
> checksums, it can't enable checksums.
>
> Look at https://www.postgresql.org/docs/11/pgverifychecksums.html,
> there's no --enable option.
>
> I need help on this.
>>
>>
> Well, on v11, you need to initdb to enable checksums. So dump your
> databases, initdb with checksums, and then restore your databases.
>
> Regards.
>
>
> --
> Guillaume.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Brad White | 2022-11-04 22:59:33 | Setting up replication on Windows, v9.4 |
Previous Message | vignesh C | 2022-11-04 09:36:48 | Re: Support logical replication of DDLs |