From: | Fernando Nasser <fnasser(at)redhat(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: postgres --help-config |
Date: | 2003-10-15 14:54:29 |
Message-ID: | 3F8D5FA5.101@redhat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
>
> Actually, I think the point Peter's been making is that it's not clear
> we need a "user-readable" output format at all. The variant you are
> calling --help-config-raw is the only one that needs to be supported in
> 7.4, and anything else should (arguably) be left off so that it doesn't
> constrain a future redesign.
>
I agree. We can revive the pg_guc utility to obtain the raw input using
'postgres --help-config' and format it the way you want and give it all
the switches that people may want.
I just wonder if having a help-like option without human-readable output
is OK. We can always document that it is for machine consumption, of
course.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
From | Date | Subject | |
---|---|---|---|
Next Message | Fernando Nasser | 2003-10-15 15:22:06 | Re: postgres --help-config |
Previous Message | Tom Lane | 2003-10-15 14:49:14 | Re: postgres --help-config |