| От | Glen Parker |
|---|---|
| Тема | Re: CREATE DATABASE WITH LOCATION |
| Дата | |
| Msg-id | 006801c16ca3$4535b020$0b01a8c0@johnpark.net обсуждение |
| Ответ на | Re: CREATE DATABASE WITH LOCATION (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
> > service postgresql restart > > And what does that do? My bet is that when you dig into it, you'll > find it's not supplying the environment you expect to the postmaster. ok, problem solved. the postgres init script does: su -l -s /bin/sh postgres blah blah executing bash as sh causes it to not read .bash_profile. it reads .profile instead, which after a stock postgres install doesnt exist, and so the environment never gets setup. i did this: ln -s .bash_profile .profile and it did the trick. maybe in future installs that should be done automatically, or the init script modified to not specify a shell? glen
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера