summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-03-04 22:19:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-03-04 22:19:31 +0000
commit5b8ac710423bcb88948d36c8679e4a48a73ae72e (patch)
treec1b572aace85e689826e6ba5d920b0c38c7254d5 /doc/src
parent60d3c9fdf4331b4e50d4c8ece07bb8bc0dad7385 (diff)
Support include directives in postgresql.conf.
Patch by Joachim Wieland, somewhat reworked for clarity and portability.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml21
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 710f1b93d16..77a742e0450 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.48 2006/03/03 22:02:07 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.49 2006/03/04 22:19:31 tgl Exp $
-->
<chapter Id="runtime-config">
<title>Server Configuration</title>
@@ -47,7 +47,24 @@ search_path = '"$user", public'
anywhere. Parameter values that are not simple identifiers or
numbers must be single-quoted. To embed a single quote in a parameter
value, write either two quotes (preferred) or backslash-quote.
- </para>
+ </para>
+
+ <para>
+ <indexterm>
+ <primary><literal>include</></primary>
+ <secondary>in configuration file</secondary>
+ </indexterm>
+ In addition to parameter settings, the <filename>postgresql.conf</>
+ file can contain <firstterm>include directives</>, which specify
+ another file to read and process as if it were inserted into the
+ configuration file at this point. Include directives simply look like
+<programlisting>
+include 'filename'
+</programlisting>
+ If the filename is not an absolute path, it is taken as relative to
+ the directory containing the referencing configuration file.
+ Inclusions can be nested.
+ </para>
<para>
<indexterm>