fly-apps / fly-apps/postgres-ha

Managing PG configuration across major Postgres versions.

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
332
Forks
123
PR merge metrics
No merged PRs in 30d

Description

There are various Postgres configuration options that are added/removed/renamed across major Postgres versions. We need to come up with a sane strategy for organizing and maintaining configuration to accommodate past, present and future generations of Postgres.

Quick example:

In Postgres 12, we have `wal_keep_segments` which is used to specify the minimum number of past log file segments kept in the pg_wal directory.

In Postgres 13, this has been "renamed" to `wal_keep_size`.

> This determines how much WAL to retain for standby servers. It is specified in megabytes, rather than number of files as with the old parameter. If you previously used wal_keep_segments, the following formula will give you an approximately equivalent setting:
`wal_keep_size = wal_keep_segments * wal_segment_size (typically 16MB)
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.