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

From Michael Fuhr
Subject Re: BUG #1962: ECPG and VARCHAR
Date
Msg-id 20051013154920.GA92756@winnie.fuhr.org
Whole thread Raw
In response to BUG #1962: ECPG and VARCHAR  ("Charles Wegrzyn" <lists@garbagedump.com>)
Responses Re: BUG #1962: ECPG and VARCHAR
Re: BUG #1962: ECPG and VARCHAR
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: building Postgresql 7.3.10 on Mac OS X 10.4
Next
From: Tom Lane
Date:
Subject: Re: BUG #1959: readline error exiting psql