Re: machine-readable pg_controldata?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: machine-readable pg_controldata?
Дата
Msg-id 201003070159.o271xdc11767@momjian.us
обсуждение исходный текст
Ответ на Re: machine-readable pg_controldata?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> (FWIW, my recollection of the original design intention for
> pg_controldata was that it was meant as a troubleshooting tool if the
> database wouldn't start up.  I'm somewhat bemused to hear that people
> are trying to use it as part of production scripts.  It wasn't meant to
> produce machine-readable output, much less to give values that you could
> rely on with respect to a running server.)

pg_migrator reads/parses the output of pg_controldata for cluster
compatibility checking and for setting counters.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Repetition of warning message while REVOKE
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Explicit psqlrc