Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfzEX-0003LT-2B for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Aug 2017 01:59:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dfzEW-0006Q9-L0 for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Aug 2017 01:59:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dfzDo-0002SE-1s for pgsql-bugs@postgresql.org; Fri, 11 Aug 2017 01:58:44 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dfzDl-0007hb-6B for pgsql-bugs@postgresql.org; Fri, 11 Aug 2017 01:58:43 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id 91D1F1E1959; Fri, 11 Aug 2017 03:58:38 +0200 (CEST) Received: from feivel.credativ.lan (unknown [65.206.63.2]) (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 42FE91E18EE; Fri, 11 Aug 2017 03:58:38 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by feivel.credativ.lan (Postfix) with ESMTP id 7E06B3AF; Fri, 11 Aug 2017 03:58:35 +0200 (CEST) Subject: Re: BUG #14776: ecpg 4.12.0 issues with macros containing line continued blocks To: thom@genx.net, pgsql-bugs@postgresql.org References: <20170809185608.32214.12613@wrigleys.postgresql.org> From: Michael Meskes Message-ID: Date: Fri, 11 Aug 2017 03:58:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170809185608.32214.12613@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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 > It appears that starting in ecpg 4.12.0, the pre-processor has issues with > macros code blocks ({ }) when a line continuation is used (\). When > encountered, "EXEC SQL TYPE" declarations are not registered, which results > in a "unregistered data type name" error. In another instance, variables > declared in an "EXEC SQL ... DECLARE SECTION" are unavailable given the same > conditions. Would it be possible for you to post an example? Thanks Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael at xmpp dot meskes dot org 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