Re: make pg_controldata accept "-D dirname"

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: make pg_controldata accept "-D dirname"
Date: 2014-09-24 13:54:27
Message-ID: 5422CD13.4040706@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/24/2014 04:49 PM, Abhijit Menon-Sen wrote:
> At 2014-09-24 09:25:12 -0400, tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oskari Saarenmaa 2014-09-24 13:56:39 Re: missing isinf declaration on solaris
Previous Message Abhijit Menon-Sen 2014-09-24 13:49:20 Re: make pg_controldata accept "-D dirname"