Skip to content

Commit 5b8ac71

Browse files
committed
Support include directives in postgresql.conf.
Patch by Joachim Wieland, somewhat reworked for clarity and portability.
1 parent 60d3c9f commit 5b8ac71

File tree

2 files changed

+205
-79
lines changed

2 files changed

+205
-79
lines changed

doc/src/sgml/config.sgml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.48 2006/03/03 22:02:07 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.49 2006/03/04 22:19:31 tgl Exp $
33
-->
44
<chapter Id="runtime-config">
55
<title>Server Configuration</title>
@@ -47,7 +47,24 @@ search_path = '"$user", public'
4747
anywhere. Parameter values that are not simple identifiers or
4848
numbers must be single-quoted. To embed a single quote in a parameter
4949
value, write either two quotes (preferred) or backslash-quote.
50-
</para>
50+
</para>
51+
52+
<para>
53+
<indexterm>
54+
<primary><literal>include</></primary>
55+
<secondary>in configuration file</secondary>
56+
</indexterm>
57+
In addition to parameter settings, the <filename>postgresql.conf</>
58+
file can contain <firstterm>include directives</>, which specify
59+
another file to read and process as if it were inserted into the
60+
configuration file at this point. Include directives simply look like
61+
<programlisting>
62+
include 'filename'
63+
</programlisting>
64+
If the filename is not an absolute path, it is taken as relative to
65+
the directory containing the referencing configuration file.
66+
Inclusions can be nested.
67+
</para>
5168

5269
<para>
5370
<indexterm>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy