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

Commit 167c7bb

Browse files
committed
Add mention that preload_libraries check the magic block, so
non-PostgreSQL libraries cannot be loaded using this capability.
1 parent 6241f46 commit 167c7bb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/src/sgml/config.sgml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.61 2006/06/05 03:03:42 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.62 2006/06/15 17:49:09 momjian Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -961,7 +961,7 @@ SET ENABLE_SEQSCAN TO OFF;
961961

962962
<para>
963963
<productname>PostgreSQL</productname> procedural language
964-
libraries may be preloaded in this way, typically by using the
964+
libraries can be preloaded in this way, typically by using the
965965
syntax <literal>'$libdir/plXXX:plXXX_init'</literal> where
966966
<literal>XXX</literal> is <literal>pgsql</>, <literal>perl</>,
967967
<literal>tcl</>, or <literal>python</>.
@@ -973,7 +973,10 @@ SET ENABLE_SEQSCAN TO OFF;
973973
library is first used. However, the time to start each new
974974
server process may increase slightly, even if that process never
975975
uses the library. So this parameter is recommended only for
976-
libraries that will be used in most sessions.
976+
libraries that will be used in most sessions. The <quote>magic
977+
block</> present in all PostgreSQL-supported libraries is checked
978+
to guarantee compatibility. For this reason, non-PostgreSQL
979+
libraries cannot be loaded in this way.
977980
</para>
978981
</listitem>
979982
</varlistentry>

0 commit comments

Comments
 (0)