| From: | John Gunther <inbox(at)bucksvsbytes(dot)com> |
|---|---|
| To: | pgsql-novice(at)postgresql(dot)org |
| Subject: | calling C++ functions from PostgreSQL |
| Date: | 2003-04-07 07:31:49 |
| Message-ID: | 3E912965.3020101@bucksvsbytes.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
The PostgreSQL Programmer's Guide, Section 9.5, says "User-defined
functions can be written in C (or a language that can be made compatible
with C, such as C++)". Can someone point me to some examples or docs on
how to make C++ compatible with C? Despite searching, I'm unable to find
anything comprehensive that discusses calling C++ functions from C programs.
Specifically, our C language pg functions depend heavily on a second C
library (also used by other C applications) for functionality that isn't
specific to pg (such as complex string manipulation). I'd like to
migrate that generic C library to C++, but that requires calling the C++
routines, directly or through intermediate C functions, from pg.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manfred Koizar | 2003-04-07 07:38:01 | Re: Bad performance for a 3000 rows table updated |
| Previous Message | A.Bhuvaneswaran | 2003-04-07 04:42:15 | Re: 7.2 search/replace pl/pgsql |