Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 85D059FB372 for ; Fri, 22 Jun 2007 14:43:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 83589-04 for ; Fri, 22 Jun 2007 14:43:30 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by postgresql.org (Postfix) with ESMTP id BEA269FC4CD for ; Fri, 22 Jun 2007 14:43:31 -0300 (ADT) Received: from [192.168.0.251] ([71.251.196.112]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JK100I3ST7X6JZ7@vms040.mailsrvcs.net> for pgsql-sql@postgresql.org; Fri, 22 Jun 2007 12:43:10 -0500 (CDT) Date: Fri, 22 Jun 2007 13:43:09 -0400 From: Jean-David Beyer Subject: Re: Embedded C++ with ecpg? In-reply-to: <24094.1182533296@sss.pgh.pa.us> To: pgsql-sql@postgresql.org Message-id: <467C0A2D.2060608@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> User-Agent: Thunderbird 1.5 (X11/20051201) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.909 tagged_above=0 required=5 tests=BAYES_50=0.001, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708 X-Spam-Level: * X-Archive-Number: 200706/179 X-Sequence-Number: 28669 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. -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key: 9A2FC99A Registered Machine 241939. /( )\ Shrewsbury, New Jersey http://counter.li.org ^^-^^ 13:35:01 up 1 day, 21:10, 3 users, load average: 4.16, 4.23, 4.19