Re: BUG #14776: ecpg 4.12.0 issues with macros containing line continued blocks

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: thom(at)genx(dot)net, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14776: ecpg 4.12.0 issues with macros containing line continued blocks
Date: 2017-08-11 01:58:34
Message-ID: e088ba57-451f-7193-4aed-a139db0aa3f4@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Augustine, Jobin 2017-08-11 01:58:48 Re: [HACKERS] Replication to Postgres 10 on Windows is broken
Previous Message Andres Freund 2017-08-11 01:55:12 Re: [HACKERS] Replication to Postgres 10 on Windows is broken