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

Re: ecpg produces code that won't compile

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Cc: Steve Clark <sclark(at)netwolves(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: ecpg produces code that won't compile
Date: 2008-03-02 10:40:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
On Sat, Mar 01, 2008 at 04:50:46PM -0300, Euler Taveira de Oliveira wrote:
>> ecpg_test.pgc:36: error: invalid application of `sizeof' to incomplete type
>> `varchar_h_tunnel_active'
> It seems that are you using implicit cast from varchar to inet. It  
> doesn't work in 8.3 anymore. You need to cast before calling the  
> function, ie, func(col::inet).
> ...

However, this doesn't explain why ecpg fails to generate valid C code.

Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

In response to


pgsql-bugs by date

Next:From: Michael MeskesDate: 2008-03-02 10:59:56
Subject: Re: [GENERAL] ecpg problem
Previous:From: Tom LaneDate: 2008-03-02 00:12:16
Subject: Re: BUG #3997: Venezuela TIMEZONE

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