Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id F24F29F979C for ; Thu, 16 Aug 2007 10:05:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 02419-03 for ; Thu, 16 Aug 2007 10:05:40 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by postgresql.org (Postfix) with ESMTP id 6D2359F979F for ; Thu, 16 Aug 2007 10:05:40 -0300 (ADT) Received: from [192.168.0.251] ([71.251.196.74]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JMV009NQB100BBD@vms046.mailsrvcs.net> for pgsql-general@postgresql.org; Thu, 16 Aug 2007 08:05:25 -0500 (CDT) Date: Thu, 16 Aug 2007 09:05:24 -0400 From: Jean-David Beyer Subject: Re: [SQL] Embedded C++ with ecpg? In-reply-to: <467C0A2D.2060608@verizon.net> To: pgsql-general@postgresql.org Message-id: <46C44B94.4020404@verizon.net> Organization: Institute for Regimented Whimsey MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.94.0.0 References: <467BEC46.3010102@verizon.net> <24094.1182533296@sss.pgh.pa.us> <467C0A2D.2060608@verizon.net> User-Agent: Thunderbird 1.5.0.9 (X11/20070317) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/935 X-Sequence-Number: 118784 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jean-David Beyer wrote: > Tom Lane wrote: >> Jean-David Beyer writes: >>> What is the current status of (pre) compiling Embedded SQL in C++ programs? >> I just asked Michael Meskes about that (had you put a support request >> into Red Hat asking this?). > > Yes, and Red Hat's answer amounted to no answer at all. They merely repeated > a subset of what I already knew, which is why I placed the support request > in the first place. > >> He says >> >> : There are some C++ constructs that ecpg doesn't parse well, but they are >> : not that widely used afaik. Most of the code compiles cleanly. And >> : people used to workaround by just putting the sql part in a different >> : source file where they didn't need those constructs. >> : >> : Some effort has been made to make ecpg C++ compliant, so most should >> : work out of the box. >> > Thank you. I am glad to hear that. I imagine almost all my C++ constructs > are pretty simple. And most of my SQL ones are, too. > P.S.: I am pretty much able to compile my old C++ stuff. It probably will not work right, but that is just a matter of subtle differences between DB2 and postgreSQL, and the differences between RHEL3 and RHEL5. - -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key: 9A2FC99A Registered Machine 241939. /( )\ Shrewsbury, New Jersey http://counter.li.org ^^-^^ 09:00:01 up 7 days, 12:22, 3 users, load average: 4.45, 4.41, 4.28 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFGxEuUPtu2XpovyZoRAqXIAKCZ41wtnlMSrkSZCWdZIhfg4hC6cQCfXfPs QWNOruemVNWGcZyQGpeIWZ8= =x/Lc -----END PGP SIGNATURE-----