File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -10379,6 +10379,22 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
10379
10379
</listitem>
10380
10380
</varlistentry>
10381
10381
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
+
10382
10398
</variablelist>
10383
10399
</sect2>
10384
10400
</sect1>
Original file line number Diff line number Diff line change @@ -668,8 +668,9 @@ RETURNS anycompatible AS ...
668
668
<listitem>
669
669
<para>
670
670
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
673
674
default behavior is equivalent to specifying
674
675
<literal>directory = 'extension'</literal>.
675
676
</para>
You can’t perform that action at this time.
0 commit comments