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

From Alvaro Herrera
Subject Re: make pg_controldata accept "-D dirname"
Date
Msg-id 20140924124828.GL5311@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: make pg_controldata accept "-D dirname"  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander wrote:
> On Wed, Sep 24, 2014 at 12:59 PM, Abhijit Menon-Sen <ams@2ndquadrant.com> wrote:
> > Hi.
> >
> > 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".
> 
> I haven't looked at the code, but definitely +1 for the feature.
> That's really quite annoying.

+1

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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: better atomics - v0.6
Next
From: Alvaro Herrera
Date:
Subject: Re: pg_dump bug in 9.4beta2 and HEAD