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

From: thom(at)genx(dot)net
To: pgsql-bugs(at)postgresql(dot)org
Cc: thom(at)genx(dot)net
Subject: BUG #14776: ecpg 4.12.0 issues with macros containing line continued blocks
Date: 2017-08-09 18:56:08
Message-ID: 20170809185608.32214.12613@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14776
Logged by: Thomas Chin
Email address: thom(at)genx(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2017-08-09 19:29:04 Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
Previous Message Peter Geoghegan 2017-08-09 18:46:18 Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values