Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

increase max_connections and other postgresql.conf options #127

Open
cobbzilla opened this issue Mar 10, 2018 · 3 comments
Open

increase max_connections and other postgresql.conf options #127

cobbzilla opened this issue Mar 10, 2018 · 3 comments

Comments

@cobbzilla
Copy link

I'd like to increase the max_connections setting in the postgresql.conf file. I understand that on a first-run, this file will be created by initdb. Is there a way to adjust the config settings when (or after) the file is written, or in any case before starting the server process?

attila-kiss-it pushed a commit to attila-kiss-it/postgresql-embedded that referenced this issue Oct 19, 2018
 - additional postgres parameters support added
@attila-kiss-it
Copy link
Contributor

@cobbzilla : I have added a new feature on pull request #146 that enables the postgres executable configurations.

smecsia pushed a commit that referenced this issue Oct 19, 2018
- additional postgres parameters support added
@pawel-kaminski-krk
Copy link

hi, why do you expose parameters as list, it is so confusing. I have to guess whether this should be asList("param", "value", "param2", "value2") or asList("param=value", "param2=value2").

cannot it be just a Map/Properties that will be transformed internally to something else???

@pawel-kaminski-krk
Copy link

pawel-kaminski-krk commented Dec 27, 2018

anyway I have hard time setting

max_replication_slot
max_wal_senders

looking at AbstractPostgresConfig.java it should be something like
asList("-c", "max_replication_slots=1", "-c", "max_wal_senders=1", "-c", "wal_level=logical")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants