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:

secondary: shut down the secondary

</code> /usr/lib/postgresql/16/bin/pg_checksums -P -e -D /var/lib/postgresql/16/CLUSTER_NAME </code>

primary: shut down the primary

</code> /usr/lib/postgresql/16/bin/pg_checksums -P -e -D /var/lib/postgresql/16/CLUSTER_NAME </code>

Start the primary Start the secondary

Check if checksum is enabled on both:

show data_checksums;
checksum.1724928726.txt.gz · Last modified: 2024/08/29 12:52 by jbi