Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id F27BB9FC381 for ; Fri, 22 Jun 2007 12:35:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 83658-08 for ; Fri, 22 Jun 2007 12:35:50 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by postgresql.org (Postfix) with ESMTP id 7C64D9FC362 for ; Fri, 22 Jun 2007 12:35:50 -0300 (ADT) Received: from [192.168.0.251] ([71.251.196.112]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JK100IOUNBJAXUF@vms042.mailsrvcs.net> for pgsql-sql@postgresql.org; Fri, 22 Jun 2007 10:35:43 -0500 (CDT) Date: Fri, 22 Jun 2007 11:35:34 -0400 From: Jean-David Beyer Subject: Embedded C++ with ecpg? To: pgsql-sql@postgresql.org Message-id: <467BEC46.3010102@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 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/175 X-Sequence-Number: 28665 I have a bunch of application programs written in C++ that use Embedded SQL. This have been working for many years with IBM's DB2. I am about to upgrade my Red Hat Enterprise Linux 3 system to RHEL 5, and I would like to use postgresql instead of DB2. I cannot find an authoritative statement that ecpg works with C++. There are hints here and there, including old messages on this mailing list, that it either is meant to work, that it partly works, or is silent. What is the current status of (pre) compiling Embedded SQL in C++ programs? I would absolutely hate to have to rewrite all these programs in C. Red Hat seem to be on postgresql version 8.1.4 for the initial release of RHEL5, and they may have updates a little higher. -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key: 9A2FC99A Registered Machine 241939. /( )\ Shrewsbury, New Jersey http://counter.li.org ^^-^^ 11:30:01 up 1 day, 19:05, 3 users, load average: 4.25, 4.25, 4.25