Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

pgsql-patches by date

Next:From: Neil ConwayDate: 2005-10-13 16:08:16
Subject: Re: Documentation typos
Previous:From: Michael FuhrDate: 2005-10-13 14:51:20
Subject: Re: Documentation typos

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group