Re: make pg_controldata accept "-D dirname" - Mailing list pgsql-hackers

From Rajeev rastogi
Subject Re: make pg_controldata accept "-D dirname"
Date
Msg-id BF2827DCCE55594C8D7A8F7FFD3AB77158E53660@SZXEML508-MBX.china.huawei.com
Whole thread Raw
In response to Re: make pg_controldata accept "-D dirname"  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 24 September 2014 17:15, Michael Paquier Wrote:
> On Wed, Sep 24, 2014 at 7:59 PM, Abhijit Menon-Sen <ams@2ndquadrant.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.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: jsonb format is pessimal for toast compression
Next
From: Heikki Linnakangas
Date:
Subject: Re: better atomics - v0.6