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

From: alexsav23(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #8611: ECPG: unclosed comment "/*"
Date: 2013-11-20 11:18:18
Message-ID: E1Vj5nW-0001fr-Hi@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 8611
Logged by: Alexei Savchik
Email address: alexsav23(at)gmail(dot)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)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2013-11-20 11:43:48 Re: Server may segfault when using slices on int2vector
Previous Message Jaroslav Rejda 2013-11-20 08:06:31 Re: BUG #8606: Materialized View WITH NO DATA bug