Skip to content

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