[Bug]: --no-data-checksums is not when dataChecksums is false on PostgreSQL 18+
Author: evan314159Created Sep 16, 2026Updated Sep 16, 2026
Labelsbug :bug:triage
Is there an existing issue already for this bug?
- I have searched for an existing issue, and could not find anything. I believe this is a new bug.
I have read the troubleshooting guide
- I have read the troubleshooting guide and I think this is a new bug.
I am running a supported version of CloudNativePG
- I have read the troubleshooting guide and I think this is a new bug.
Contact Details
No response
Version
1.30.0
What version of Kubernetes are you using?
1.37
What is your Kubernetes environment?
Other
How did you install the operator?
Helm
What happened?
The defaults for data checksums were swapped on PostgreSQL 18+ so that data checksums are enabled by default. On Postgres 18+, when dataChecksums is false initdb --no-data-checksums is not set, so data checksums are always enabled. It is desirable to disable data checksums on filesystems that already perform data checksums, e.g. ZFS.
Cluster resource
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: cloudnative-pg/cloudnative-pg