Re: Alternate database locations
От | Rich Shepard |
---|---|
Тема | Re: Alternate database locations |
Дата | |
Msg-id | Pine.LNX.4.44.0202191306130.2601-100000@salmo.appl-ecosys.com обсуждение исходный текст |
Ответ на | Re: Alternate database locations ("Glen Parker" <glenebob@nwlink.com>) |
Ответы |
Re: Alternate database locations
|
Список | pgsql-general |
On Tue, 19 Feb 2002, Glen Parker wrote: > your init script is using the '-s /bin/sh' argument to 'su', which means > bash runs in compat mode (sh is a soft link to bash on linux), and does not > use .bash_profile. you need to set up a file ~postgres/.profile (along side > of .bash_profile) and put your PGDATA2 environment export in there, or > possibly source .profile from .bash_profile. restart the postmaster and it > should now work. Glen, I'll be darned! I haven't learned this about shells in the four years I've been running linux here. Sure makes a difference 'cause now the alternate location works. Perhaps this ought to go into the docs somewhere -- or a FAQ. Many thanks! Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com http://www.appl-ecosys.com
В списке pgsql-general по дате отправления: