Skip to content

Postgres 10 images do not use --waldir instead of --xlogdir #372

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

Closed
jzampieron opened this issue Nov 15, 2017 · 3 comments
Closed

Postgres 10 images do not use --waldir instead of --xlogdir #372

jzampieron opened this issue Nov 15, 2017 · 3 comments

Comments

@jzampieron
Copy link

The Postgres 10 docker entrypoint passes invalid parameters to initdb.

The --xlogdir parameter has been replaced with --waldir.

Trying to use the POSTGRES_INITDB_XLOGDIR env variable fails entirely on startup with
an empty folder.

@yosifkit
Copy link
Member

Oh, it was just rename. It seems no one has tried to use it since we created the 10 beta image in June. Thanks for pointing it out; let me work up a PR. 😺

@jzampieron
Copy link
Author

jzampieron commented Nov 15, 2017

Excellent. For anyone searching. I worked around this issue using "POSTGRES_INITDB_ARGS" with the --waldir parameter set appropriately.

@yosifkit
Copy link
Member

Updated images should be pushed to Docker Hub shortly: docker-library/official-images#3718.

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

No branches or pull requests

2 participants