| От | John R Pierce |
|---|---|
| Тема | Re: Use environment variables in postgresql.conf |
| Дата | |
| Msg-id | 529A7D7B.4060602@hogranch.com обсуждение исходный текст |
| Ответ на | Use environment variables in postgresql.conf ("imagenesis@gmail.com" <imagenesis@gmail.com>) |
| Список | pgsql-general |
On 11/30/2013 3:54 PM, imagenesis@gmail.com wrote: > Is it possible to use environment variables in postgresql.conf and > perhaps related configuration files? > > For example, I would like to use an env variable to specify the data > directory. that specific case is generally handled not via postgresql.conf, but rather by the arguments passed pg_ctl in the service start/stop/restart/reload scripts. on my RHEL platforms, its in turn read from /etc/sysconfig/pgsql/$0 (where $0 is the service script name), which in fact sets environment variables used by said service script. -- john r pierce 37N 122W somewhere on the middle of the left coast
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера