Re: postgres --help-config - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: postgres --help-config
Date
Msg-id 200310151935.h9FJZha08310@candle.pha.pa.us
Whole thread Raw
In response to Re: postgres --help-config  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > One thing that seems very strange about the current API are flags that
> > have meaning only when --help-config becomes before it, as with -G and
> > -M.  I have never seen that before,
> 
> postgres -boot does exactly that, and the new code was modeled on it.
> Which doesn't make it good design, maybe, but you can hardly claim
> that there's no precedent.

However, -boot isn't documented because it is only for internal use.
If it was for general use, I doubt it would still use that API.

> We had also considered choosing a different executable name (the
> postmaster-vs-postgres trick).  But on platforms without symlinks,
> like Windows, that would mean an extra whole copy of the backend
> in the installed system, which seemed a bit much just to avoid some
> ugliness in the switch set...

Agreed.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Can't CREATE INDEX on a schema?
Next
From: Bruce Momjian
Date:
Subject: Re: postgres --help-config