Re: machine-readable pg_controldata? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: machine-readable pg_controldata?
Date
Msg-id 201003070159.o271xdc11767@momjian.us
Whole thread Raw
In response to Re: machine-readable pg_controldata?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Repetition of warning message while REVOKE
Next
From: Magnus Hagander
Date:
Subject: Re: Explicit psqlrc