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

From Abhijit Menon-Sen
Subject Re: make pg_controldata accept "-D dirname"
Date
Msg-id 20140924134920.GA21547@toroid.org
Whole thread Raw
In response to Re: make pg_controldata accept "-D dirname"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: make pg_controldata accept "-D dirname"
Re: make pg_controldata accept "-D dirname"
List pgsql-hackers
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.

Patches attached.

-- Abhijit

P.S. Trivia: I can't find any other options in Postgres where the
argument is mandatory but the option is optional.

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: delta relations in AFTER triggers
Next
From: Heikki Linnakangas
Date:
Subject: Re: make pg_controldata accept "-D dirname"