aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/postgres-ref.sgml
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-10-06 09:38:39 -0400
committerBruce Momjian <bruce@momjian.us>2011-10-06 09:38:39 -0400
commitaaa6e1def292cdacb6b27088898793b1b879fedf (patch)
treec83d11607dbc2d7990137d98bd22bdc7b77ad931 /doc/src/sgml/ref/postgres-ref.sgml
parent7f3bd86843e5aad84585a57d3f6b80db3c609916 (diff)
downloadpostgresql-aaa6e1def292cdacb6b27088898793b1b879fedf.tar.gz
postgresql-aaa6e1def292cdacb6b27088898793b1b879fedf.zip
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.
Diffstat (limited to 'doc/src/sgml/ref/postgres-ref.sgml')
-rw-r--r--doc/src/sgml/ref/postgres-ref.sgml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/postgres-ref.sgml b/doc/src/sgml/ref/postgres-ref.sgml
index b16bbdfa4b3..3807f4090a8 100644
--- a/doc/src/sgml/ref/postgres-ref.sgml
+++ b/doc/src/sgml/ref/postgres-ref.sgml
@@ -141,6 +141,20 @@ PostgreSQL documentation
</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>
<para>