Skip to content

9.6 or later: some minor changes#16

Open
kkimurak wants to merge 2 commits intodevelopfrom
9.6-some-minor-changes
Open

9.6 or later: some minor changes#16
kkimurak wants to merge 2 commits intodevelopfrom
9.6-some-minor-changes

Conversation

@kkimurak
Copy link
Owner

@kkimurak kkimurak commented Feb 5, 2026

This PR applies some minor changes (introduced: v9.6) to postgresql.conf.

  • change value for wal_level on hot standby from hot_standby to replica (same meaning)
  • delete checkpoint_segments_setting on hot standby

"hot_standby" and "archive" are mapped to "replica"

See https://www.postgresql.org/docs/10/runtime-config-wal.html#GUC-WAL-LEVEL

> In releases prior to 9.6, this parameter also allowed the values
> archive and hot_standby.
> These are still accepted but mapped to replica.
Upstream change on 9.6

postgres/postgres@8f2977b

> max_wal_size = (3 * checkpoint_segments) * 16MB
> Note that the default setting for max_wal_size is
> much higher than the default checkpoint_segments used
> to be, so setting this might no longer necessary.
@kkimurak kkimurak changed the title 9.6 some minor changes 9.6 or later: some minor changes Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant