Skip to content

[Bug]: --no-data-checksums is not when dataChecksums is false on PostgreSQL 18+ #11497

Description

@evan314159

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

Activity

  1. added
    bug 🐛
    triage
    on Sep 16, 2026
  2. added this to the 1.30.1 milestone on Sep 21, 2026
  3. added a commit that references this issue on Sep 22, 2026
    b7ddf70
  4. added a commit that references this issue on Sep 22, 2026
    9a6a783
  5. added a commit that references this issue on Sep 22, 2026
    de1d10e
  6. added 2 commits that reference this issue on Sep 22, 2026
    0305743
    a44e107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug 🐛triage

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions