Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DEV: run pg_createcluster for old postgres version during update #950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mwaniki-wairungu
Copy link
Contributor

We copy default configs for the old PG version during the update.

Upstream changes disabled main cluster creation for old PG versions if a newer one exists so the old configs are no longer generated.

To work around this, we can invoke pg_createcluster.

See https://salsa.debian.org/postgresql/postgresql-common/-/commit/d9139f7777a42a39b5b6fabbffc9f020fad4dce5

We copy default configs for the old PG version during the update.

Upstream changes disabled main cluster creation for old PG versions
if a newer one exists so the old configs are no longer generated.

To work around this, we can invoke pg_createcluster.

See https://salsa.debian.org/postgresql/postgresql-common/-/commit/d9139f7777a42a39b5b6fabbffc9f020fad4dce5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant