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)