Skip to content

Comments

Run initdb as PGUSER#115

Open
mbezuidenhout wants to merge 2 commits intotianon:masterfrom
mbezuidenhout:master
Open

Run initdb as PGUSER#115
mbezuidenhout wants to merge 2 commits intotianon:masterfrom
mbezuidenhout:master

Conversation

@mbezuidenhout
Copy link

When running pg_upgrade with the PGUSER environment variable set the destination database bootstrap user must also be set to the same user.

If the environment variable PGUSER is set the username option gets appended to the variable POSTGRES_INITDB_ARGS

@pReya
Copy link

pReya commented Dec 11, 2025

@tianon Can this be merged?

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