Re: pg_upgrade - add config directory setting

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_upgrade - add config directory setting
Дата
Msg-id 201109292327.p8TNRZm03255@momjian.us
обсуждение исходный текст
Ответ на Re: pg_upgrade - add config directory setting  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_upgrade - add config directory setting
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Tom Lane wrote:
> >> Yeah.  I think the only sensible way to do this would be to provide an
> >> operating mode for the postgres executable that would just parse the
> >> config file and spit out requested values.
> 
> > That would certainly solve the problem, though it would have to be
> > backpatched all the way back to 8.4, and it would require pg_upgrade
> > users to be on newer minor versions of Postgres.
> 
> I would just say "no" to people who expect this to work against older
> versions of Postgres.  I think it's sufficient if we get this into HEAD
> so that it will work in the future.

Well, it is going to work in the future only when the _old_ version is
9.2+.  Specifically, pg_upgrade using the flag could be patched to just
9.2, but the flag has to be supported on old and new backends for that
to work.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pg_regress input/output directory option
Следующее
От: Alexander
Дата:
Сообщение: Re: REVIEW proposal: a validator for configuration files