| From: | Alexei Savchik <alexsav23(at)gmail(dot)com> |
|---|---|
| To: | meskes(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Fwd: BUG #8611: ECPG: unclosed comment "/*" |
| Date: | 2013-11-24 06:29:01 |
| Message-ID: | CAMJT6fR1_H_jMwU+j=o6AzpOC5bpsdcdN9J-3UH87r-rABq89Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
---------- Forwarded message ----------
From: Alexei Savchik <alexsav23(at)gmail(dot)com>
Date: Sun, Nov 24, 2013 at 3:01 AM
Subject: Re: [BUGS] BUG #8611: ECPG: unclosed comment "/*"
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | dimitriraabe | 2013-11-24 10:54:37 | BUG #8622: Error when installing PostGIS via Stack Builder |
| Previous Message | Tom Lane | 2013-11-23 21:15:51 | Re: BUG #8606: Materialized View WITH NO DATA bug |