Re: preload libraries patch [was: [GENERAL] hexadecimal to decimal]
Re: preload libraries patch [was: [GENERAL] hexadecimal to decimal]
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Joe Conway 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
Re: preload libraries patch [was: [GENERAL] hexadecimal to decimal]
От:
Joe Conway <mail@joeconway.com>
Дата:
Tom Lane wrote: > 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. Hmmm, I see your point :(. Sorry about that! > Will fix and commit. Thanks, Joe