From 167c7bb49a73cd4a97eef5129ba96dd8ba334af8 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 15 Jun 2006 17:49:09 +0000 Subject: [PATCH] Add mention that preload_libraries check the magic block, so non-PostgreSQL libraries cannot be loaded using this capability. --- doc/src/sgml/config.sgml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 2226bf40f5..a439f7b4b0 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -961,7 +961,7 @@ SET ENABLE_SEQSCAN TO OFF; PostgreSQL procedural language - libraries may be preloaded in this way, typically by using the + libraries can be preloaded in this way, typically by using the syntax '$libdir/plXXX:plXXX_init' where XXX is pgsql, perl, tcl, or python. @@ -973,7 +973,10 @@ SET ENABLE_SEQSCAN TO OFF; library is first used. However, the time to start each new server process may increase slightly, even if that process never uses the library. So this parameter is recommended only for - libraries that will be used in most sessions. + libraries that will be used in most sessions. The magic + block present in all PostgreSQL-supported libraries is checked + to guarantee compatibility. For this reason, non-PostgreSQL + libraries cannot be loaded in this way.