Re: make pg_controldata accept "-D dirname"

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: make pg_controldata accept "-D dirname"
Date: 2014-09-24 11:44:56
Message-ID: CAB7nPqSdnHEFmSDGRQgHXegqviKJt20pKJN8LRvgR7z3DQUrxQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 24, 2014 at 7:59 PM, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com> wrote:
> 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".
+1. I forget it all the time as well...
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-09-24 11:51:10 Re: jsonb format is pessimal for toast compression
Previous Message Abhijit Menon-Sen 2014-09-24 11:36:05 Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations()