Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4836162

Browse files
committed
Document the extension-destdir GUC
1 parent 5d5a0eb commit 4836162

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

doc/src/sgml/config.sgml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10379,6 +10379,22 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
1037910379
</listitem>
1038010380
</varlistentry>
1038110381

10382+
<varlistentry id="guc-extension-destdir" xreflabel="extension_destdir">
10383+
<term><varname>extension_destdir</varname> (<type>string</type>)
10384+
<indexterm>
10385+
<primary><varname>extension_destdir</varname> configuration parameter</primary>
10386+
</indexterm>
10387+
</term>
10388+
<listitem>
10389+
<para>
10390+
This directory is prepended to paths when loading extensions (control
10391+
and SQL files), and to the '$libdir' directive when loading modules
10392+
that back functions. This parameter can only be set at server start.
10393+
For more information see <xref linkend="extend-extensions-files-directory"/>.
10394+
</para>
10395+
</listitem>
10396+
</varlistentry>
10397+
1038210398
</variablelist>
1038310399
</sect2>
1038410400
</sect1>

doc/src/sgml/extend.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,9 @@ RETURNS anycompatible AS ...
668668
<listitem>
669669
<para>
670670
The directory containing the extension's <acronym>SQL</acronym> script
671-
file(s). Unless an absolute path is given, the name is relative to
672-
the installation's <literal>SHAREDIR</literal> directory. The
671+
file(s). Unless an absolute path is given, the name will be used to
672+
search for the extension relative to the <xref linkend="guc-extension-destdir"/>
673+
and the installation's <literal>SHAREDIR</literal> directory. The
673674
default behavior is equivalent to specifying
674675
<literal>directory = 'extension'</literal>.
675676
</para>

0 commit comments

Comments
 (0)