Re: Open Item: pg_controldata - machine readable?

Lists: pgsql-hackers
From: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Open Item: pg_controldata - machine readable?
Date: 2010-05-26 02:05:22
Message-ID: 20100526110522.B27D.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

There is an open item "pg_controldata - machine readable?" in the list:
http://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items

The proposal by Joe Conway is adding a new contib module.
http://archives.postgresql.org/message-id/4B959D7A.6010907@joeconway.com
http://github.com/jconway/pg_controldata

Should we add the module to 9.0? If we do so, SGML documentation is required.

IMHO, I'd like to put the feature into the core instead of a contrib
module, but we cannot change the catalog version in this time.
So, how about providing control file information through pg_settings
view? We will retrieve those variables as GUC options.

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Open Item: pg_controldata - machine readable?
Date: 2010-05-26 03:03:34
Message-ID: 3908.1274843014@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> writes:
> There is an open item "pg_controldata - machine readable?" in the list:
> http://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items

> The proposal by Joe Conway is adding a new contib module.
> http://archives.postgresql.org/message-id/4B959D7A.6010907@joeconway.com
> http://github.com/jconway/pg_controldata

> Should we add the module to 9.0?

No. This is a new feature that wasn't even under consideration,
let alone written, at the time of 9.0 feature freeze. It does not
get into either core or contrib this time around.

regards, tom lane


From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Open Item: pg_controldata - machine readable?
Date: 2010-05-26 03:11:26
Message-ID: 4BFC915E.7090202@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 05/25/2010 08:03 PM, Tom Lane wrote:
> Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> writes:
>> There is an open item "pg_controldata - machine readable?" in the list:
>> http://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items
>
>> The proposal by Joe Conway is adding a new contib module.
>> http://archives.postgresql.org/message-id/4B959D7A.6010907@joeconway.com
>> http://github.com/jconway/pg_controldata
>
>> Should we add the module to 9.0?
>
> No. This is a new feature that wasn't even under consideration,
> let alone written, at the time of 9.0 feature freeze. It does not
> get into either core or contrib this time around.

Yup, agreed. That was why I put it on github instead of sending a patch
to the list. It was also a quick and dirty hack -- maybe it could be
cleaned up for 9.1, but I'm not sure there was consensus that it was
really needed.

Joe


From: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Open Item: pg_controldata - machine readable?
Date: 2010-05-26 03:32:49
Message-ID: 20100526123249.B287.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Joe Conway <mail(at)joeconway(dot)com> wrote:

> >> There is an open item "pg_controldata - machine readable?" in the list:
> >> http://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items
> >> Should we add the module to 9.0?
> >
> > No. This is a new feature that wasn't even under consideration,
> > let alone written, at the time of 9.0 feature freeze. It does not
> > get into either core or contrib this time around.
>
> Yup, agreed. That was why I put it on github instead of sending a patch
> to the list. It was also a quick and dirty hack -- maybe it could be
> cleaned up for 9.1, but I'm not sure there was consensus that it was
> really needed.

OK, I moved it from 9.0 open items to new features for 9.1.

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center


From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Open Item: pg_controldata - machine readable?
Date: 2010-06-01 05:06:10
Message-ID: 4C049542.2090907@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Takahiro Itagaki wrote:
> The proposal by Joe Conway is adding a new contib module.
> http://archives.postgresql.org/message-id/4B959D7A.6010907@joeconway.com
> http://github.com/jconway/pg_controldata
>

There's a second one of these floating around now too:
http://labs.omniti.com/trac/pgtreats/browser/trunk/contrib/control

--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.us