Re: question concerning dll linking - Mailing list pgsql-cygwin

From Peter Eisentraut
Subject Re: question concerning dll linking
Date
Msg-id 200402291847.22560.peter_e@gmx.net
Whole thread Raw
In response to question concerning dll linking  ("SIMON Benjamin" <benjamin.simon@laposte.net>)
List pgsql-cygwin
SIMON Benjamin wrote:
> I' d like to know if it is possible to create a C function (and the
> associated dll) that calls functions from another dll ?
>
> For example
>
> CREATE OR REPLACE FUNCTION MyFunction() RETURNS INTEGER
>   AS 'MyDll'
>   LANGUAGE 'c';
>
> with code for MyFunction in MyDll.dll and some others calls in
> MyOtherDll.dll.

Presumably would would have to link MyDll.dll against other
MyOtherDll.dll.  Or you can use the command LOAD to load arbitary DLLs
and have your code use them.


pgsql-cygwin by date:

Previous
From: Shachar Shemesh
Date:
Subject: Re: Connectivity from VB to Postgresql
Next
From: "LitelWang"
Date:
Subject: postgresql date time at Cygwin On Windows 2000