1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Add postmaster -C option to query configuration parameters, and have

pg_ctl use that to query the data directory for config-only installs.
This fixes awkward or impossible pg_ctl operation for config-only
installs.
This commit is contained in:
Bruce Momjian
2011-10-06 09:38:39 -04:00
parent 7f3bd86843
commit aaa6e1def2
5 changed files with 100 additions and 10 deletions

View File

@ -140,6 +140,20 @@ PostgreSQL documentation
</listitem>
</varlistentry>
<varlistentry>
<term><option>-C <replaceable>name</replaceable></option></term>
<listitem>
<para>
Returns the value of a named run-time parameter, and exits.
(See the <option>-c</> option above for details.) This can
be used on a running server, and returns values from
<filename>postgresql.conf</>, modified by any parameters
supplied in this invocation. It does not reflect parameters
supplied when the cluster was started.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d <replaceable>debug-level</replaceable></option></term>
<listitem>