[GENERAL] starting PG command line options vs postgresql.con

Поиск
Список
Период
Сортировка
От rakeshkumar464
Тема [GENERAL] starting PG command line options vs postgresql.con
Дата
Msg-id 1509371325546-0.post@n3.nabble.com
обсуждение исходный текст
Ответы Re: [GENERAL] starting PG command line options vs postgresql.con
Re: [GENERAL] starting PG command line options vs postgresql.con
Список 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


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: [GENERAL] Comparing epoch to timestamp
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] starting PG command line options vs postgresql.con