Re: preload libraries patch [was: [GENERAL] hexadecimal to decimal] - Mailing list pgsql-patches

From Tom Lane
Subject Re: preload libraries patch [was: [GENERAL] hexadecimal to decimal]
Date
Msg-id 14460.1059676384@sss.pgh.pa.us
Whole thread Raw
Responses Re: preload libraries patch [was: [GENERAL] hexadecimal to decimal]  (Joe Conway <mail@joeconway.com>)
List pgsql-patches
Joe Conway <mail@joeconway.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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: updateable cursors
Next
From: Joe Conway
Date:
Subject: preload libraries patch [was: [GENERAL] hexadecimal to decimal]