Re: pg_upgrade - add config directory setting

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_upgrade - add config directory setting
Дата
Msg-id 1317221554-sup-6466@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pg_upgrade - add config directory setting  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pg_upgrade - add config directory setting
Список pgsql-hackers
Excerpts from Peter Eisentraut's message of mié sep 28 04:49:43 -0300 2011:
> On tis, 2011-09-27 at 16:13 -0700, Steve Crawford wrote:
> > It would perhaps be useful to add optional --old-confdir and 
> > --new-confdir parameters to pg_upgrade. If these parameters are absent
> > then pg_upgrade would work as it does now and assume that the config 
> > files are in the datadir. 
> 
> It should work the same way the postmaster itself works: If the given
> directory is not a data directory, look for the postgresql.conf file and
> look there for the location of the data directory.

So we need a postmaster switch:

postmaster --parse-config-and-report=data_directory

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Alexander Soudakov
Дата:
Сообщение: Feature proposal: www_fdw
Следующее
От: David Fetter
Дата:
Сообщение: Re: Feature proposal: www_fdw