Re: [BUGS] Patch to allow C extension modules to initialize/finish

2006-08-04 Thread Ralf S. Engelschall
On Thu, Aug 03, 2006, [EMAIL PROTECTED] wrote: > On Wed, Aug 02, 2006 at 09:04:11PM +0200, Ralf S. Engelschall wrote: > > PostgreSQL provides a way to load C extension modules with its internal > > FMGR. Unfortunately there is no portable way for an extension module to > > initialize (directly aft

Re: [BUGS] Patch to allow C extension modules to initialize/finish

2006-08-03 Thread tomas
On Wed, Aug 02, 2006 at 09:04:11PM +0200, Ralf S. Engelschall wrote: > PostgreSQL provides a way to load C extension modules with its internal > FMGR. Unfortunately there is no portable way for an extension module to > initialize (directly after the pg_dlopen() of the DSO) and to finish > (directly

[BUGS] Patch to allow C extension modules to initialize/finish

2006-08-03 Thread Ralf S. Engelschall
PostgreSQL provides a way to load C extension modules with its internal FMGR. Unfortunately there is no portable way for an extension module to initialize (directly after the pg_dlopen() of the DSO) and to finish (directly before the pg_dlclose() of the DSO). This way it is mostly impossible to wri