Fwd: BUG #8611: ECPG: unclosed comment "/*" - Mailing list pgsql-bugs

From Alexei Savchik
Subject Fwd: BUG #8611: ECPG: unclosed comment "/*"
Date
Msg-id CAMJT6fR1_H_jMwU+j=o6AzpOC5bpsdcdN9J-3UH87r-rABq89Q@mail.gmail.com
Whole thread Raw
In response to BUG #8611: ECPG: unclosed comment "/*"  (alexsav23@gmail.com)
List pgsql-bugs
---------- Forwarded message ----------
From: Alexei Savchik <alexsav23@gmail.com>
Date: Sun, Nov 24, 2013 at 3:01 AM
Subject: Re: [BUGS] BUG #8611: ECPG: unclosed comment "/*"
To: Tom Lane <tgl@sss.pgh.pa.us>


Hi!
It will be great if fix it.
I developer from Ispirer and I work on automatically migrate from CPRE
(Sybase ASE) to ECPG.
We solved that problem, adding space to nested comments ("/*" -> "/ *") in
migration process.
We have one more issue (I reported it).
> Subject: BUG #8608: ECPG: sizeof() in EXEC SQL DECLARE SECTION
> The following bug has been logged on the website:
>
> Bug reference:      8608
> Logged by:          Alexei Savchik
> Email address:      alexsav23@gmail.com
> PostgreSQL version: 9.3.1
> Operating system:   Windows 8 x64
> Description:
>
> void MyFunc( MyClass*unit_address )
> {
>     EXEC SQL BEGIN DECLARE SECTION;
>        unsigned char      var1[sizeof(MyClass)];
>     EXEC SQL END DECLARE SECTION;
> }
>
>
> d:\>"c:\Program Files\PostgreSQL\9.3\bin\ecpg.exe"-o 1.c 1.pgc
> 1.pgc: 4: ERROR: syntax error at or near  "("
> error deleting output file "1.c"
>
>
>
http://stackoverflow.com/questions/20049432/ecpg-sizeof-in-exec-sql-declare-section


If you have solution, advice or you can to fix it,  will by great!

Thank you for your answer!
Best regards
Alexei Savchik
Applications Migration Consultant from Ispirer Systems

http://www.ispirer.com/

pgsql-bugs by date:

Previous
From: dimitriraabe@gmx.de
Date:
Subject: BUG #8622: Error when installing PostGIS via Stack Builder
Next
From: rob@northleaf.com
Date:
Subject: BUG #8628: md5 security hole