User Tools

Site Tools


checksum

This is an old revision of the document!


enable checksum after creation (initdb)

Ubuntu 24.04 / postgres v16 with primary and secondary:

* shutdown primary and secondary

* and - on both clusters:

sudo -u postgres /usr/lib/postgresql/16/bin/pg_checksums -P -e -D PGDATA

* Start the primary and secondary

* And check if checksum is enabled on both (on):

sudo -u postgres psql -c "show data_checksums"
checksum.1724936059.txt.gz · Last modified: 2024/08/29 14:54 by jbi