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

From Bruce Momjian
Subject Re: postgres --help-config
Date
Msg-id 200310161736.h9GHabg20839@candle.pha.pa.us
Whole thread Raw
In response to Re: postgres --help-config  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses 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:
> > Agreed.  I like --dump-config.  Better to have the verb first.
> 
> My only objection to that is that "dump" suggests you will get some kind
> of snapshot of current settings, which is not what this facility does.
> 
> I don't have an especially good alternative though ... "--describe-config"
> is the only thought that comes to mind right away.

I just realized that --help-config doesn't output the contents of
postgresql.conf at all, but just the internal server defaults.  Does the
admin tool read postgresql.conf too and parse that to get the runtime
values, and how does it know if the postmaster is using the current
postgresql.conf contents or it needs a SIGHUP?

--  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: Rod Taylor
Date:
Subject: Re: pg_autovacuum and VACUUM FREEZE
Next
From: Bruce Momjian
Date:
Subject: Re: Some thoughts about i/o priorities and throttling vacuum