From: | pl65 <przemek(at)lisnet(dot)info> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: C-function, don't load external dll file |
Date: | 2012-11-22 09:26:29 |
Message-ID: | 1353576388905-5733197.post@n5.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Dimitri Fontaine-7 wrote
> You need to declare it in SQL, maybe like this: create function
> public.transform(text) returns text as '$libdir/fservice', 'transform'
> language C;
*I'm afraid that I won't do it becouse fservice.dll is writen in c++, but
dll file which contains function transform (this function export to
Postgresql) was wrote in ANSI C. *Secondly, LOAD function in posttgresql
libraries that are use of my all dependent dll? I think i should use:LOAD
'fservice.dll' But I don't know which dll load to use function or makros
which called from windows.h (HINSTANCE, LoadLibray(), GetProcAddress())?
--
View this message in context: http://postgresql.1045698.n5.nabble.com/C-function-don-t-load-external-dll-file-tp5732931p5733197.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | Kohei KaiGai | 2012-11-22 09:30:06 | Re: FDW for PostgreSQL |
Previous Message | Shigeru Hanada | 2012-11-22 09:22:11 | Re: FDW for PostgreSQL |