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

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: alexsav23(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8611: ECPG: unclosed comment "/*"
Date: 2013-11-22 18:46:13
Message-ID: 20131122184613.GA13590@feivel.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Nov 20, 2013 at 11:18:18AM +0000, alexsav23(at)gmail(dot)com wrote:
> pre-compiler don't work if we have unclosed comment:

Right, this comes from ecpg using the same rules for C-style commands for SQL
code and C code. However, this is not correct, I agree. SQL allows for nested
comments while C does not. This needs fixing.

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2013-11-22 19:12:26 Re: BUG #8612: Truncate did not release disk space
Previous Message Patrick Lademan 2013-11-22 18:01:01 Re: Postgres jobs will not automatically login on Mac OSX