Re: [BUGS] Patch to allow C extension modules to initialize/finish - Mailing list pgsql-hackers

From Ralf S. Engelschall
Subject Re: [BUGS] Patch to allow C extension modules to initialize/finish
Date
Msg-id 20060808193243.GA12347@engelschall.com
Whole thread Raw
In response to Re: [BUGS] Patch to allow C extension modules to initialize/finish  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Aug 08, 2006, Tom Lane wrote:

> "Ralf S. Engelschall" <rse@engelschall.com> 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 of an extension
> > module right after/before the pg_dlopen/pg_dlclose calls in the FMGR.
>
> Patch applied, with consequent changes to simplify preload_libraries
> feature in favor of using _PG_init().

Thanks.                                      Ralf S. Engelschall
rse@engelschall.com                                     www.engelschall.com
 



pgsql-hackers by date:

Previous
From: stark
Date:
Subject: Casts
Next
From: "Joshua D. Drake"
Date:
Subject: Re: 8.2 features status