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

From Heikki Linnakangas
Subject Re: make pg_controldata accept "-D dirname"
Date
Msg-id 5422A50D.8080709@vmware.com
Whole thread Raw
In response to make pg_controldata accept "-D dirname"  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
Responses Re: make pg_controldata accept "-D dirname"
List pgsql-hackers
On 09/24/2014 01:59 PM, Abhijit Menon-Sen 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".

Ah, I frequently run into that too; but with pg_resetxlog.

- Heikki




pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: make pg_controldata accept "-D dirname"
Next
From: Abhijit Menon-Sen
Date:
Subject: Re: make pg_controldata accept "-D dirname"