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

From: "Thomas S(dot) Chin" <thom(at)genx(dot)net>
To: Michael Meskes <meskes(at)postgresql(dot)org>, 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 13:28:06
Message-ID: b52cbcca-3f61-07ce-4c7f-cc9d67718e0e@genx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello Michael,

Fixing it when you find time would be great. Currently, I have a
workaround, and can revert that commit when an updated ecpg build is
available.

Thank you Michael, and I hope to hear from you in the near future.

Kind regards,
Thomas S. Chin

On 08/11/2017 09:04 AM, Michael Meskes wrote:
> Thanks Thomas.
>
> Yes, I think the bug was introduced by commit
> fc1ae7d2eb6a3de47f5f5cd6ebf2d18d226b8036 which was supposed to handle
> the case of a cpp line with a linebreak but without a continuation
> character.
>
> Suggestions for a fix are welcome, otherwise I'll look into it when I
> find time.
>
> Michael
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Meskes 2017-08-11 13:38:37 Re: BUG #14754: ecpg SQL parsing error
Previous Message Michael Meskes 2017-08-11 13:04:27 Re: BUG #14776: ecpg 4.12.0 issues with macros containing line continued blocks