Re: make pg_controldata accept "-D dirname"

From: Rajeev rastogi <rajeev(dot)rastogi(at)huawei(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: make pg_controldata accept "-D dirname"
Date: 2014-09-24 11:52:05
Message-ID: BF2827DCCE55594C8D7A8F7FFD3AB77158E53660@SZXEML508-MBX.china.huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 24 September 2014 17:15, Michael Paquier Wrote:

> On Wed, Sep 24, 2014 at 7:59 PM, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>
> wrote:
> > I can never remember that pg_controldata takes only a dirname rather
> > than "-D dirname", and I gather I'm not the only one. Here's a tiny
> > patch to make it work either way. As far as I can see, it doesn't
> > break anything, not even if you have a data directory named "-D".
> +1. I forget it all the time as well...

+1, always I get confused once pg_controldata does not work with -D.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-09-24 11:59:19 Re: better atomics - v0.6
Previous Message Tom Lane 2014-09-24 11:51:10 Re: jsonb format is pessimal for toast compression