Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjvkI-0000El-VQ for pgsql-bugs@arkaria.postgresql.org; Fri, 22 Nov 2013 18:46:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VjvkH-0003vW-KW for pgsql-bugs@arkaria.postgresql.org; Fri, 22 Nov 2013 18:46:25 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjvkB-0003m0-CB for pgsql-bugs@postgresql.org; Fri, 22 Nov 2013 18:46:19 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vjvk7-0007m1-TE for pgsql-bugs@postgresql.org; Fri, 22 Nov 2013 18:46:18 +0000 Received: from feivel (p4FE0AF0E.dip0.t-ipconnect.de [79.224.175.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mme@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id BA0181B60AF; Fri, 22 Nov 2013 19:46:13 +0100 (CET) Received: by feivel (Postfix, from userid 1000) id 4C6E59F13D; Fri, 22 Nov 2013 19:46:13 +0100 (CET) Date: Fri, 22 Nov 2013 19:46:13 +0100 From: Michael Meskes To: alexsav23@gmail.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8611: ECPG: unclosed comment "/*" Message-ID: <20131122184613.GA13590@feivel.credativ.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Wed, Nov 20, 2013 at 11:18:18AM +0000, alexsav23@gmail.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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs