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

From Abhijit Menon-Sen
Subject make pg_controldata accept "-D dirname"
Date
Msg-id 20140924105907.GA18922@toroid.org
Whole thread Raw
Responses Re: make pg_controldata accept "-D dirname"
Re: make pg_controldata accept "-D dirname"
Re: make pg_controldata accept "-D dirname"
List pgsql-hackers
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".

-- Abhijit

Attachment

pgsql-hackers by date:

Previous
From: Thom Brown
Date:
Subject: Re: pg_dump bug in 9.4beta2 and HEAD
Next
From: Heikki Linnakangas
Date:
Subject: Re: pg_dump bug in 9.4beta2 and HEAD