Re: question concerning dll linking

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "SIMON Benjamin" <benjamin(dot)simon(at)laposte(dot)net>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: question concerning dll linking
Date: 2004-02-29 17:47:22
Message-ID: 200402291847.22560.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message LitelWang 2004-03-02 03:09:42 postgresql date time at Cygwin On Windows 2000
Previous Message Shachar Shemesh 2004-02-28 20:58:28 Re: Connectivity from VB to Postgresql