Skip to content

Conversation

@pkhartsk
Copy link

including tests

fila43 and others added 5 commits February 4, 2026 17:20
Automatically detect and preserve locale settings (lc_collate, lc_ctype)
from the old PostgreSQL cluster during upgrade operations. This fixes
upgrade failures when system locale has changed between initialization
and upgrade.

The implementation queries locale from the old cluster's template1
database, temporarily starting the server if needed. Detected locale
values are automatically passed to initdb via PGSETUP_INITDB_OPTIONS.

Fixes: Bug 1152556
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.

2 participants