Thanks for looking into it. For the code I'm working on, it's no problem to
work around (messy, but
no problem).
>I'm afraid you find a real problem here. I just didn't think about
inserting
>arrays. If you give ecpg an array of int it inserts every single value as
>one int. That means:
>
>insert into foo(bar) values(:intarray)
>
>is equal to:
>
>for (i=0;i<maxarray;i++)
> insert into foo(bar) values(:intarray[i])
>How shall ecpg see that this time it is meant to insert the whole array?
>
>Anyone with an idea?
I'm guessing you're mostly directing that at people who are atleast vaguely
familiar with the
way pg and ecpg works internally ;)
>
>Michael
Thanks again (both for looking into it and for ecpg itself),
andrew.