Re: BUG #1962: ECPG and VARCHAR - Mailing list pgsql-bugs

From Michael Fuhr
Subject Re: BUG #1962: ECPG and VARCHAR
Date
Msg-id 20051013182753.GA7577@winnie.fuhr.org
Whole thread Raw
In response to Re: BUG #1962: ECPG and VARCHAR  (Michael Fuhr <mike@fuhr.org>)
Responses Re: BUG #1962: ECPG and VARCHAR  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
On Thu, Oct 13, 2005 at 09:49:20AM -0600, Michael Fuhr wrote:
> ecpg in 8.0.4 seems not to like the macros.  I get the same error,
> but not if I do this:
>
>     VARCHAR  t[256];
>     VARCHAR  o[256];
>
> ecpg in 8.1beta3 works either way.

This appears to be the guilty commit, which was made to 7.4, 8.0,
and HEAD (8.1):

http://archives.postgresql.org/pgsql-committers/2005-08/msg00266.php

It was recently fixed in HEAD only:

http://archives.postgresql.org/pgsql-committers/2005-10/msg00043.php

--
Michael Fuhr

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #1815: ECPGdebug causes crash on Windows XP
Next
From: "Jim C. Nasby"
Date:
Subject: Re: BUG #1956: Plpgsql top-level DECLARE does not share scope