Skip to content

[Bug] When deploying PostgreSQL 18 , data checksums can't be disabled #1420

@bkhomuts

Description

@bkhomuts

Bug description

When deploying PostgreSQL 18 with postgresql_data_checksums: false, the data checksums are enabled.

Expected behavior

Data checksums are disabled when postgresql_data_checksums: false and during upgrade from 17 -> 18.

Steps to reproduce

  1. Deploy cluster with postgresql_version: 18 and postgresql_data_checksums: false
  2. SELECT name,setting FROM pg_settings WHERE name = 'data_checksums';

Installation method

Command line

System info

Debian 13
Autobase from Git.

Additional info

Current logic assumes that data checksums are disabled by default. Since PostgreSQL 18, data checksums are enabled, unless explicitly disabled. Therefore, Autobase needs to be updated to specify --no-data-checksums for PostgreSQL >= 18, when the postgresql_data_checksums: false, and during upgrade.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions