Joe Conway <mail(at)joeconway(dot)com> writes:
> Attached is a patch that:
> 1) fixes the behavior of preload_libraries
> 2) adds an exported xxx_init() function to plperl, pltcl, plpython, and
> plpgsql
> 3) updates the documentation for the changes
As coded, this will cause pltcl to try to execute the unknown-module
load on every pltcl function call :-(. You really need two bits of
state if you are going to have separate postmaster-time and backend-time
initialization.
Will fix and commit.
regards, tom lane