Received: from golem.jpl.nasa.gov (root@hectic-2.jpl.nasa.gov [128.149.68.204]) by hub.org (8.8.8/8.7.5) with ESMTP id KAA07297 for ; Mon, 13 Jul 1998 10:44:07 -0400 (EDT) Received: from apop-server.alumni.caltech.edu (localhost [127.0.0.1]) by golem.jpl.nasa.gov (8.8.5/8.8.5) with ESMTP id OAA10780; Mon, 13 Jul 1998 14:50:23 GMT Sender: tgl@mythos.jpl.nasa.gov Message-ID: <35AA1EAF.3021277B@apop-server.alumni.caltech.edu> Date: Mon, 13 Jul 1998 14:50:23 +0000 From: "Thomas G. Lockhart" Organization: Caltech/JPL X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.30 i686) MIME-Version: 1.0 To: David.Gross@wanadoo.fr CC: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] using c++ for functions References: <35A9B202.90637974@wanadoo.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > 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