From: | The Hermit Hacker <scrappy(at)hub(dot)org> |
---|---|
To: | Horak Daniel <horak(at)mmp(dot)plzen-city(dot)cz> |
Cc: | "'pgsql-hackers(at)postgreSQL(dot)org'" <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] dynamic loading on NT works! |
Date: | 1999-03-09 13:39:09 |
Message-ID: | Pine.BSF.4.05.9903090938560.7045-100000@thelab.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Applied...
On Tue, 9 Mar 1999, Horak Daniel wrote:
> Hi all,
>
> I have played with dynamic loading of modules to the backend and it works.
> It needs only to add "DLLIMPORT" to all data structures, that should be
> exported.
>
> The main thing is done in the src/include/c.h - it defines DLLIMPORT to
> nothing on platforms other then Cygwin and __declspec(...) on Cygwin, and in
> src/makefiles/Makefile.win - it defines the symbol BUILDING_DLL only when
> the make process is in the src/backend subtree.
>
> I have tested it with trigger regression test - it works, and with some
> plpgsql stuff - it doesn't work and it probably needs some other data to be
> exported from the backend.
>
> I think the changes are minimal so they can by applied to the development
> source tree for 6.5.
>
> Dan
>
> ----------------------------------------------
> Daniel Horak
> network and system administrator
> e-mail: horak(at)mmp(dot)plzen-city(dot)cz
> privat e-mail: dan(dot)horak(at)email(dot)cz
> ----------------------------------------------
>
>
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org
From | Date | Subject | |
---|---|---|---|
Next Message | Mikhail Terekhov | 1999-03-09 15:30:08 | vacuum analyze |
Previous Message | The Hermit Hacker | 1999-03-09 13:34:13 | Re: [HACKERS] Developers globe |