Re: BUG #1962: ECPG and VARCHAR

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Charles Wegrzyn <lists(at)garbagedump(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1962: ECPG and VARCHAR
Date: 2005-10-13 15:49:20
Message-ID: 20051013154920.GA92756@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

On Thu, Oct 13, 2005 at 02:24:27PM +0100, Charles Wegrzyn wrote:
> I have code that under 8.0.3 works:
>
> VARCHAR t[MAX_TENANT_SIZE+1];
> VARCHAR o[MAX_OID_SIZE+1];
>
> In 8.0.4 I found this throws an error during the ecpg step:
>
> tenant.ec:375: ERROR: pointer to varchar are not implemented
> tenant.ec:376: ERROR: pointer to varchar are not implemented

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.

--
Michael Fuhr

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Karl O. Pinc 2005-10-13 15:51:15 Re: BUG #1956: Plpgsql top-level DECLARE does not share
Previous Message Tom Lane 2005-10-13 15:42:52 Re: building Postgresql 7.3.10 on Mac OS X 10.4

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-10-13 15:50:22 Re: [HACKERS] Darwin compile fixes
Previous Message Tom Lane 2005-10-13 15:46:51 Re: Minor point about contrib/xml2 functions "IMMUTABLE" marking

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-10-13 16:08:16 Re: Documentation typos
Previous Message Michael Fuhr 2005-10-13 14:51:20 Re: Documentation typos