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 5422CD13.4040706@vmware.com
Whole thread Raw
In response to Re: make pg_controldata accept "-D dirname"  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
List pgsql-hackers
On 09/24/2014 04:49 PM, Abhijit Menon-Sen wrote:
> At 2014-09-24 09:25:12 -0400, tgl@sss.pgh.pa.us wrote:
>>
>> What's so hard about [ -D ] before the datadir argument?
>
> I'm sorry to have given you the impression that I objected to it because
> it was hard. Since I proposed the same thing a few lines after what you
> quoted, I guess I have to agree it's not hard.
>
> I think it's pointless, because if you're going to look at the usage
> message to begin with, why not do what it already says? But I don't
> care enough to argue about it any further.

There's also the reverse situation: you see that a script contains a 
line like "pg_controldata -D foo". You're accustomed to doing just 
"pg_controldata foo", and you wonder what the -D option does. So you 
look it up in the docs or "pg_controldata --help".

- Heikki




pgsql-hackers by date:

Previous
From: Abhijit Menon-Sen
Date:
Subject: Re: make pg_controldata accept "-D dirname"
Next
From: Oskari Saarenmaa
Date:
Subject: Re: missing isinf declaration on solaris