* [Comm] $PGDATA
@ 2002-10-02 5:08 Yuriy Gomenyuk
2002-10-02 6:27 ` Korshunov Ilya
2002-10-02 6:31 ` Evgeny Yugov
0 siblings, 2 replies; 4+ messages in thread
From: Yuriy Gomenyuk @ 2002-10-02 5:08 UTC (permalink / raw)
To: ALT
Где устанавливать переменную $PGDATA, чтобы postgresql сервер запускался без необходимости указывать путь к каталогу базы данных при запуске (pg_ctl -D адрес_директории start)?
--
С уважением,
Юрий Гоменюк.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] $PGDATA
2002-10-02 5:08 [Comm] $PGDATA Yuriy Gomenyuk
@ 2002-10-02 6:27 ` Korshunov Ilya
2002-10-02 6:31 ` Evgeny Yugov
1 sibling, 0 replies; 4+ messages in thread
From: Korshunov Ilya @ 2002-10-02 6:27 UTC (permalink / raw)
To: community
В сообщении от 2 Октябрь 2002 09:08 Yuriy Gomenyuk написал:
> Где устанавливать переменную $PGDATA, чтобы postgresql сервер запускался
> без необходимости указывать путь к каталогу базы данных при запуске (pg_ctl
> -D адрес_директории start)?
В профайле супрепользователя pgsql либо
PGDATA=/path/to/db; export PGDATA;psql -U postgres.....
--
WBR
Korshunov Ilya
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] $PGDATA
2002-10-02 5:08 [Comm] $PGDATA Yuriy Gomenyuk
2002-10-02 6:27 ` Korshunov Ilya
@ 2002-10-02 6:31 ` Evgeny Yugov
2002-10-02 13:30 ` Yuriy Gomenyuk
1 sibling, 1 reply; 4+ messages in thread
From: Evgeny Yugov @ 2002-10-02 6:31 UTC (permalink / raw)
To: Yuriy Gomenyuk
Здравствуйте Yuriy,
Wednesday, October 2, 2002, 12:08:47 PM, you wrote:
YG> Где устанавливать переменную $PGDATA, чтобы postgresql сервер запускался без необходимости указывать путь к каталогу базы данных при запуске (pg_ctl -D адрес_директории start)?
Вариантов масса...
в скрипте запуска
в профиле юзера от которого пускается...
А вообще посмотреть как оно сделанно в дистре АЛТовцев...
--
With Best regards,
Evgeny Yugov,
MTS, programmer of Advanced Technologies Departament.
mailto:yugov@scs-900.ru
--
Девушки, как места для парковки: чуть замешкался, а лучшие уже все заняты.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-02 13:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02 5:08 [Comm] $PGDATA Yuriy Gomenyuk
2002-10-02 6:27 ` Korshunov Ilya
2002-10-02 6:31 ` Evgeny Yugov
2002-10-02 13:30 ` Yuriy Gomenyuk
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git