#Best way to customize postgresql.conf?
20 messages · Page 1 of 1 (latest)
In what ways would you be looking to customize it?
my app needs pg_stat_statements in shared_preload_libraries
You can't directly edit the postgresql.conf file (Maybe through SSH but definitely not recommended)
Can that be sent as a psql command or set through env vars?
Was looking into all that env vars can do yeah, I've had some people customize them through those
wouldn't be persisted over a restart, which is required after modifyng the config
True, so unfortunately a custom image is the best option here
ah, that's annoying but oh well
looking through this but yeah https://hub.docker.com/_/postgres
custom image is the best bet
The PostgreSQL object-relational database system provides reliability and data integrity.
I wonder if there could be some middle ground where it has a startup script that writes a config to the disk on startup, from an environment variable
just thinking out loud
Yeah that sounds like it would be helpful here but no clue if Railway supports doing that
brody to the rescue
!s
:/