Skip to content
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

Add POSTGRES_SETUP_ARGS for setup configuration #499

Closed
wants to merge 1 commit into from

Conversation

gsf
Copy link

@gsf gsf commented Sep 13, 2018

Set the POSTGRES_SETUP_ARGS environment variable to alter configuration
during setup. Useful for settings like "max_wal_size=4GB" and
"fsync=off" when loading initial data. Example pointing at a config
file:

POSTGRES_SETUP_ARGS='-o "-c config_file=/etc/postgresql/setup.conf"'

Set the POSTGRES_SETUP_ARGS environment variable to alter configuration
during setup. Useful for settings like "max_wal_size=4GB" and
"fsync=off" when loading initial data. Example pointing at a config
file:

    POSTGRES_SETUP_ARGS='-o "-c config_file=/etc/postgresql/setup.conf"'
@gsf
Copy link
Author

gsf commented Sep 13, 2018

Tested locally with PostgreSQL 10.

@yosifkit
Copy link
Member

Duplicate of #317.

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.

3 participants