]> granicus.if.org Git - postgresql/commit
Add a feature for automatic initialization and finalization of dynamically
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Aug 2006 19:15:09 +0000 (19:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Aug 2006 19:15:09 +0000 (19:15 +0000)
commitb09bfcaa576c1a3e0c34a747a502bae909b984a8
treefe1c80a8cf23b37d2ea78345cd3580ac2c588eed
parente00664da48cc31575c7105bbeff9e298a1ab1827
Add a feature for automatic initialization and finalization of dynamically
loaded libraries: call functions _PG_init() and _PG_fini() if the library
defines such symbols.  Hence we no longer need to specify an initialization
function in preload_libraries: we can assume that the library used the
_PG_init() convention, instead.  This removes one source of pilot error
in use of preloaded libraries.  Original patch by Ralf Engelschall,
preload_libraries changes by me.
12 files changed:
doc/src/sgml/config.sgml
doc/src/sgml/xfunc.sgml
src/backend/postmaster/postmaster.c
src/backend/utils/fmgr/dfmgr.c
src/backend/utils/init/miscinit.c
src/include/miscadmin.h
src/include/postmaster/postmaster.h
src/pl/plperl/plperl.c
src/pl/plpgsql/src/pl_handler.c
src/pl/plpgsql/src/plpgsql.h
src/pl/plpython/plpython.c
src/pl/tcl/pltcl.c