starting PG command line options vs postgresql.con

From: rakeshkumar464 <rakeshkumar464(at)outlook(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: starting PG command line options vs postgresql.con
Date: 2017-10-30 13:48:45
Message-ID: 1509371325546-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am new to Docker env and I see that PG, as a container is started with
parameters like this:
docker run -it \
--detach \
--name name \
--restart=unless-stopped \
-p 5432:5432 \

-e PGDATA=/var/lib/postgresql/data/pg10
-N 500 \
-B 3GB \
-S 6291kB \
-c listen_addresses=* \
-c effective_cache_size=9GB \
-c maintenance_work_mem=768MB \
-c min_wal_size=2GB \
-c max_wal_size=4GB \

I would prefer using postgresql.conf. what is the consensus in this forum
regarding command line vs postgresql.conf. Also if conflicting, which one
takes priority.

thanks

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-10-30 13:59:27 Re: starting PG command line options vs postgresql.con
Previous Message Alexander Farber 2017-10-30 11:33:17 Re: Comparing epoch to timestamp