Fwd: BUG #8611: ECPG: unclosed comment "/*"

Поиск
Список
Период
Сортировка
От Alexei Savchik
Тема Fwd: BUG #8611: ECPG: unclosed comment "/*"
Дата
Msg-id CAMJT6fR1_H_jMwU+j=o6AzpOC5bpsdcdN9J-3UH87r-rABq89Q@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #8611: ECPG: unclosed comment "/*"  (alexsav23@gmail.com)
Список 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 по дате отправления:

Предыдущее
От: dimitriraabe@gmx.de
Дата:
Сообщение: BUG #8622: Error when installing PostGIS via Stack Builder
Следующее
От: rob@northleaf.com
Дата:
Сообщение: BUG #8628: md5 security hole