aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-05-17 17:44:18 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-05-17 17:44:18 +0000
commit761a0bb69b5a9a773786f90da8e2efa91e5a2804 (patch)
treecdf5fef30b598471a843461504787f5e41a61826 /doc/src
parent8266e8a84be9593d2eb061492473cf0f1a7529e2 (diff)
downloadpostgresql-761a0bb69b5a9a773786f90da8e2efa91e5a2804.tar.gz
postgresql-761a0bb69b5a9a773786f90da8e2efa91e5a2804.zip
Add dynamic_library_path parameter and automatic appending of shared
library extension.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml45
1 files changed, 44 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index bc7a86dba1d..f5ed95be5d4 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.66 2001/05/12 22:51:35 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.67 2001/05/17 17:44:17 petere Exp $
-->
<Chapter Id="runtime">
@@ -997,6 +997,49 @@ env PGOPTIONS='-c geqo=off' psql
</varlistentry>
<varlistentry>
+ <term>DYNAMIC_LIBRARY_PATH (<type>string</type>)</term>
+ <listitem>
+ <para>
+ If a dynamically loadable module needs to be opened and the
+ specified name does not have a directory component (i.e., the
+ name does not contain a slash), the system will search this
+ path for the specified file. (The name that is used is the
+ name specified in the <command>CREATE FUNCTION</command> or
+ <command>LOAD</command> command.)
+ </para>
+
+ <para>
+ The value for dynamic_library_path has to be a colon-separated
+ list of absolute directory names. If a directory name starts
+ with the special value <literal>$libdir</literal>, the
+ compiled-in PostgreSQL library directory, which is where the
+ modules provided by the PostgreSQL distribution are installed,
+ is substituted. An example value:
+ <informalexample>
+<programlisting>
+dynamic_library_path = '/usr/local/lib:/home/my_project/lib:$libdir:$libdir/contrib'
+</programlisting>
+ </informalexample>
+ </para>
+
+ <para>
+ The default value for this parameter is
+ <literal>$libdir</literal>. If the value is set to the empty
+ string, the automatic path search is turned off.
+ </para>
+
+ <para>
+ This parameter can be changed at run time by superusers, but
+ note that a setting done that way will only persist till the
+ end of the client connection, so this method should be
+ reserved for development purposes. The recommended way to set
+ this parameter is in the <filename>postgresql.conf</filename>
+ configuration file.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<indexterm>
<primary>fsync</primary>
</indexterm>