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

From Michael Meskes
Subject Re: BUG #8611: ECPG: unclosed comment "/*"
Date
Msg-id 20131124113010.GC28081@feivel.credativ.lan
Whole thread Raw
In response to Re: BUG #8611: ECPG: unclosed comment "/*"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #8611: ECPG: unclosed comment "/*"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Fri, Nov 22, 2013 at 03:19:10PM -0500, Tom Lane wrote:
> I don't see any way to "fix" it --- the best you can do is have a
> different set of users complaining, because C and SQL aren't consistent
> about this, and it's not obvious which convention should be followed
> where.

Well, I think we can in ecpg as ecpg knows whether it's parsing C code or SQL
code.

Alexei, could you please try the attached patch? IT's already in HEAD but I'd
prefer to have you run your sources through the changed ecpg before backporting
the patch.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #8606: Materialized View WITH NO DATA bug
Next
From: Michael Meskes
Date:
Subject: Re: BUG #8608: ECPG: sizeof() in EXEC SQL DECLARE SECTION