| От | Tom Lane |
|---|---|
| Тема | Re: Default data directory |
| Дата | |
| Msg-id | 29791.1220641901@sss.pgh.pa.us обсуждение |
| Ответ на | Default data directory (Carol Walter <walterc@indiana.edu>) |
| Список | pgsql-admin |
Carol Walter <walterc@indiana.edu> writes:
> I can't figure out how the Postgres that's running on the production
> web server knows where to look for its data.
Generally the location of the data directory is determined by a -D
switch on the postmaster command line, or by setting the PGDATA
environment variable in the script that launches the postmaster.
Setting it in the configuration file would be circular logic,
except in the uncommon sort of configuration where the config file
doesn't live in the data directory (in which case the -D switch
only indicates where the config files are).
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера