using C++ to define new functions

From: David Gross <David(dot)Gross(at)lri(dot)fr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: using C++ to define new functions
Date: 1998-07-17 08:59:17
Message-ID: 199807170859.KAA27585@sun-algo.lri.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello,

Sorry to disturb the hacker list for a question that seems not so hard.
But I got no answers elsewhere...
Is is definitively impossible to use C++ to define new SQL functions or operators
in SQL ? (I need this in order to use a big geometric library, to produce e.g. polygon
intersections, or harder).

I manage to add C functions, with a

create function ... returns .. as language 'c';

but the linking style of c++ is rather different.
Do you have an idea ?

Thanks,

David
dgross(at)lri(dot)fr

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1998-07-17 14:25:03 Re: [HACKERS] How about re-moderating pgsql-announce?
Previous Message Hannu Krosing 1998-07-17 07:18:03 Re: [INTERFACES] Re: [HACKERS] changes in 6.4