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

From alexsav23@gmail.com
Subject BUG #8611: ECPG: unclosed comment "/*"
Date
Msg-id E1Vj5nW-0001fr-Hi@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #8611: ECPG: unclosed comment "/*"
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8611
Logged by:          Alexei Savchik
Email address:      alexsav23@gmail.com
PostgreSQL version: 9.3.1
Operating system:   Windows 8 x64
Description:

pre-compiler don't work if we have unclosed comment:


int func(void)
{
  /*
    /* Build exec sql statement
    */
     EXEC SQL SELECT 1;
    return 0;
}








d:\>"c:\Program Files\PostgreSQL\9.3\bin\ecpg.exe" 1.pgc
1.pgc: 9: ERROR: incomplete comment / *


(message translate from Russian)


it is not critical, but it difficult migrate from other DB (for example from
SybaseASE pre-compiler)

pgsql-bugs by date:

Previous
From: Oliver Munyao
Date:
Subject: pgdump not dumping my database
Next
From: David Kerr
Date:
Subject: Re: Postgres jobs will not automatically login on Mac OSX