Re: pg_ctl -w vs unix_socket_directory

Поиск
Список
Период
Сортировка
От Radoslaw Zielinski
Тема Re: pg_ctl -w vs unix_socket_directory
Дата
Msg-id 20070918230014.GA14511@bzium
обсуждение исходный текст
Ответ на Re: pg_ctl -w vs unix_socket_directory  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pg_ctl -w vs unix_socket_directory  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> [18-09-2007 23:42]:
> This has a trivial workaround - just set PGHOST for pg_ctl:

> [andrew@constanza inst.codfix.5705]$
> PGHOST=/home/andrew/pgl/inst.codfix.5705 bin/pg_ctl -D data/ -l logfile -w
> start

That would be fine for a particular installation, but isn't really
suitable for a startup script shipped with a linux distribution.  Sure,
a /bin/sh-based postgresql.conf parser could do the trick... but I just
don't feel like writing one. :-)

--
Radosław Zieliński <radek@pld-linux.org>

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Close previously open holes for invalidly encoded data to enter
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_ctl -w vs unix_socket_directory