From: | Jean-David Beyer <jeandavid8(at)verizon(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: [SQL] Embedded C++ with ecpg? |
Date: | 2007-08-16 13:05:24 |
Message-ID: | 46C44B94.4020404@verizon.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jean-David Beyer wrote:
> Tom Lane wrote:
>> Jean-David Beyer <jeandavid8(at)verizon(dot)net> 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-----
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2007-08-16 13:09:00 | Re: Accessing tables in other databases, through functions |
Previous Message | Ashish Karalkar | 2007-08-16 13:03:01 | Re: Accessing tables in other databases, through functions |
From | Date | Subject | |
---|---|---|---|
Next Message | Jean-David Beyer | 2007-08-16 13:20:03 | Starting autovacuum in postgresql-8.1.9 |
Previous Message | Mike Diehl | 2007-08-16 06:11:36 | Re: Problem with phone list. |