Re: pg_controldata gobbledygook

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_controldata gobbledygook
Дата
Msg-id 20130426042158.GW2169@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pg_controldata gobbledygook  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_controldata gobbledygook  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> I think I've heard of scripts grepping the output of pg_controldata for
> this that or the other.  Any rewording of the labels would break that.
> While I'm not opposed to improving the labels, I would vote against your
> second, abbreviated scheme because it would make things ambiguous for
> simple grep-based scripts.

We could provide two alternative outputs, one for human consumption with
the proposed format and something else that uses, say, shell assignment
syntax.  (I did propose this years ago and I might have an unfinished
patch still lingering about somewhere.)

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Failing start-up archive recovery at Standby mode in PG9.2.4
Следующее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: pg_controldata gobbledygook