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

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: BUG #8611: ECPG: unclosed comment "/*"
Дата
Msg-id 20131124113010.GC28081@feivel.credativ.lan
обсуждение исходный текст
Ответ на Re: BUG #8611: ECPG: unclosed comment "/*"  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #8611: ECPG: unclosed comment "/*"
Список 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

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #8606: Materialized View WITH NO DATA bug
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: BUG #8608: ECPG: sizeof() in EXEC SQL DECLARE SECTION