Re: ecpg produces code that won't compile

From: Steve Clark <sclark(at)netwolves(dot)com>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: Euler Taveira de Oliveira <euler(at)timbira(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: ecpg produces code that won't compile
Date: 2008-03-03 15:17:04
Message-ID: 47CC1670.20009@netwolves.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Michael Meskes wrote:
> 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
Hi Michael,

The patch fixed the compile errors.

Thanks,
Steve

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Steve Clark 2008-03-03 15:28:04 BUG #4007: chr(0) doesn't work anymore
Previous Message David Schweikert 2008-03-03 14:15:58 BUG #4006: pg_ctl assumes that all config files lie in data_directory