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

Поиск
Список
Период
Сортировка
От Ralf S. Engelschall
Тема Re: [BUGS] Patch to allow C extension modules to initialize/finish
Дата
Msg-id 20060808193243.GA12347@engelschall.com
обсуждение исходный текст
Ответ на Re: [BUGS] Patch to allow C extension modules to initialize/finish  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: stark
Дата:
Сообщение: Casts
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: 8.2 features status