[BUGS] BUG #14776: ecpg 4.12.0 issues with macros containing line continuedblocks - Mailing list pgsql-bugs

From thom@genx.net
Subject [BUGS] BUG #14776: ecpg 4.12.0 issues with macros containing line continuedblocks
Date
Msg-id 20170809185608.32214.12613@wrigleys.postgresql.org
Whole thread Raw
Responses Re: [BUGS] BUG #14776: ecpg 4.12.0 issues with macros containing linecontinued blocks  (Michael Meskes <meskes@postgresql.org>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14776
Logged by:          Thomas Chin
Email address:      thom@genx.net
PostgreSQL version: 9.6.3
Operating system:   Linux
Description:

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.


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: [BUGS] Crash report for some ICU-52 (debian8) COLLATE andwork_mem values
Next
From: Robert Haas
Date:
Subject: Re: [BUGS] Crash report for some ICU-52 (debian8) COLLATE andwork_mem values