Skip to content

Add POSTGRES_SETUP_ARGS for setup configuration #499

New issue

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

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

Already on GitHub? # to your account

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants