pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas G. Lockhart <lockhart@alumnus.caltech.edu>
To: David.Gross@wanadoo.fr
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] using c++ for functions
Date: Mon, 13 Jul 1998 14:50:23 +0000
Message-ID: <35AA1EAF.3021277B@apop-server.alumni.caltech.edu> (raw)
References: <35A9B202.90637974@wanadoo.fr>

>     I would like to know if it is possible to use C++ code
> to define new functions in Postgres...
> It works very well for C functions, but with C++ (on unix/linux
> systems), postgres can't find the function in the symbol table.

I don't know for sure, but I would suspect that C++ name mangling (or
something related) might be getting in the way. Have you looked at the
shared library with "nm" to see what the symbols actually are?

                     - Tom



view thread (3+ messages)  latest in thread

Message-ID: <35AA1EAF.3021277B@apop-server.alumni.caltech.edu>
Permalink:  ../35AA1EAF.3021277B@apop-server.alumni.caltech.edu/
Also on:    postgresql.org/message-id/35AA1EAF.3021277B@apop-server.alumni.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lockhart@alumnus.caltech.edu, David.Gross@wanadoo.fr
  Subject: Re: [INTERFACES] using c++ for functions
  In-Reply-To: <35AA1EAF.3021277B@apop-server.alumni.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox