dbTalk Databases Forums  

Calling C DLL functions from PostgreSQL (PGSQL)

comp.databases.postgresql comp.databases.postgresql


Discuss Calling C DLL functions from PostgreSQL (PGSQL) in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ronald Raygun
 
Posts: n/a

Default Calling C DLL functions from PostgreSQL (PGSQL) - 04-03-2008 , 03:11 AM






I ahev written a win32 D DLL and exposed its functions so I can call it
from PG. However, I want to export the function names by ordinal, rather
than by name (for several reasons - one of which, is to reduce the size
of the DLL).

My question is:

Does any one know how I can call a function exported by ordinal number
(as opposed to name), from a DLL.

If this is possible, I will be very grateful for an example of
a CREATE FUNCTION statement which shows a function being called by
ordinal number rather than name.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.