Re: PostgreSQL configuration

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: PostgreSQL configuration
Дата
Msg-id 200404132334.24817.xzilla@users.sourceforge.net
обсуждение исходный текст
Ответ на Re: PostgreSQL configuration  (Kevin Brown <kevin@sysexperts.com>)
Ответы Re: PostgreSQL configuration  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tuesday 13 April 2004 01:14, Kevin Brown wrote:
> Tom Lane wrote:
<snip>
> To be honest, I think the use of the PG_DATA environment variable is the
> biggest impediment to "self documentation" - the postmaster should not
> use it.
>
> The reason is that if PG_DATA is used to specify the location of the
> data directory, you won't be able to find out where a running
> postmaster's data directory is located without doing some heavy-duty
> investigation.  Not all operating systems make it possible to determine
> the values of a particular process' environment variables.
>

I think this is another vote for "store the PGDATA dir value inside a running 
postgresql" so you can query the running database to find out what datafiles 
it is using.

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Lexing with different charsets
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Remove MySQL Tools from Source?