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

2006-08-08 Thread Ralf S. Engelschall
On Tue, Aug 08, 2006, Tom Lane wrote: Ralf S. Engelschall [EMAIL PROTECTED] writes: Hence I propose the patch below (applies to PostgreSQL 8.1.4) which mimics the dlopen(3) and dlclose(3) behaviour of some Unix platforms and resolves and calls _PG_init and _PG_fini functions

Re: [HACKERS] [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 after

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

2006-08-03 Thread Ralf S. Engelschall
_PG_init and _PG_fini functions already defined). Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com Index: src/backend/utils/fmgr/dfmgr.c --- src/backend/utils/fmgr/dfmgr.c.orig