Red Hat Topics - Does ecpg precompile C++ programs with embedded SQL, or does it not?

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > June 2007 > Does ecpg precompile C++ programs with embedded SQL, or does it not?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Does ecpg precompile C++ programs with embedded SQL, or does it not?
Jean-David Beyer

2007-06-21, 1:15 am

I am about to upgrade from RHEL3 to RHEL5 and they seem to have postgresql
(8.1.9 so far) as a database management system as one of the possibilities.

I currently run IBM DB2 and have a bunch of C++ programs with embedded SQL.
I cannot find good documentation on ecpg. They seem to imply it does C++ as
well as C, but elsewhere, I see that it is not fully implimented.

So does it work for the most likely C++ programs, or not? If not, what do
other people do? IBM have had a precompiler for embedded SQL since before
2000, so it is time that PostgreSQL does it to, IMAO.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 23:05:01 up 6:40, 3 users, load average: 4.32, 4.23, 4.19
Ivan Marsh

2007-06-21, 1:14 pm

On Thu, 21 Jun 2007 03:11:15 +0000, Jean-David Beyer wrote:

> I am about to upgrade from RHEL3 to RHEL5 and they seem to have
> PostgreSQL (8.1.9 so far) as a database management system as one of the
> possibilities.
>
> I currently run IBM DB2 and have a bunch of C++ programs with embedded
> SQL. I cannot find good documentation on ecpg. They seem to imply it
> does C++ as well as C, but elsewhere, I see that it is not fully
> implimented.
>
> So does it work for the most likely C++ programs, or not? If not, what
> do other people do? IBM have had a precompiler for embedded SQL since
> before 2000, so it is time that PostgreSQL does it to, IMAO.


Must be out of my depth... how and for that matter why do you pre-compile
an interpreted language?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com