If that's the case then you'd better change your documentation...
PostgreSQL 7.3 Documentation
Chapter 4. ECPG - Embedded SQL in C
This chapter describes the embedded SQL package for PostgreSQL. It works
with C and *C++.* It was written by Linus Tolke (<linus@epact.se
<mailto:linus@epact.se>>) and Michael Meskes (<meskes@postgresql.org
<mailto:meskes@postgresql.org>>).
Regards,
Mark Pether.
Michael Meskes wrote:
>On Wed, Dec 17, 2003 at 03:14:31PM -0500, Mark Pether wrote:
>
>
>>Ecpg pretty prints my code causing compile errors.
>>
>>
>
>Please note that ecpg is a precompiler for embedded SQL in C not C++.
>
>Michael
>
>