Re: [BUGS] ecpg produces code that won't compile

2008-03-03 Thread Steve Clark
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 anymo

Re: [BUGS] ecpg produces code that won't compile

2008-03-02 Thread Michael Meskes
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

Re: [BUGS] ecpg produces code that won't compile

2008-03-01 Thread Euler Taveira de Oliveira
Steve Clark 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). euler=

[BUGS] ecpg produces code that won't compile

2008-02-29 Thread Steve Clark
The following bug has been logged online: Bug reference: 4001 Logged by: Stephen Clark Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3.0 Operating system: FreeBSD 6.2 Description:ecpg produces code that won't compile Details: Below is a code fragment that co