Re: BUG #1962: ECPG and VARCHAR

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Charles Wegrzyn <lists(at)garbagedump(dot)com>, pgsql-bugs(at)postgresql(dot)org, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, Michael Meskes <Michael(dot)Meskes(at)credativ(dot)de>
Subject: Re: BUG #1962: ECPG and VARCHAR
Date: 2005-10-14 01:53:14
Message-ID: 200510140153.j9E1rEB19532@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

Michael Fuhr wrote:
> 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

Good catch! I have backpatched these fixes to the 8.0 and 7.4 branches
as you suggested, (identical) patches attached.

The big problem is that we might not make releases on these branches for
months, so anyone needing the fix should download CVS for those
branches.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 1.0 KB
unknown_filename text/plain 1.0 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paesold 2005-10-14 05:52:07 Re: [PATCHES] [BUGS] BUG #1962: ECPG and VARCHAR
Previous Message Tony Caduto 2005-10-14 01:48:26 BUG #1966: Single OUT PARM does not return param name.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-10-14 02:28:36 Re: Allowed timezone values
Previous Message Christopher Kings-Lynne 2005-10-14 01:31:46 Re: enhancement to pg_dump: supress columns

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-10-14 02:54:30 Re: [HACKERS] roundoff problem in time datatype
Previous Message Christopher Kings-Lynne 2005-10-14 01:30:22 Re: Documentation typos