| От | Tom Lane |
|---|---|
| Тема | Re: Alternate data location, again |
| Дата | |
| Msg-id | 5941.1014145271@sss.pgh.pa.us обсуждение |
| Ответ на | Alternate data location, again (Rich Shepard <rshepard@appl-ecosys.com>) |
| Ответы |
Re: Alternate data location, again
|
| Список | pgsql-general |
Rich Shepard <rshepard@appl-ecosys.com> writes:
> only thing that occurs to me is this: the postmaster is started by root, not
> by user postgres or user rshepard. Only root has permission to run
> '/etc/rc.d/init.d/postgresql restart'. Could this have any bearing on the
> results?
Hm. I assume that init script does something like
su postgres -c 'postmaster ...'
Check the man page for "su". Usually there is some option needed to
make "su" pick up the login environment of the target user. On HPUX
you'd do
su - postgres postmaster ...
but I'm too lazy to go check it on other Unixen...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера