Hello:
> Use the source Luke ... array_send, in backend/utils/adt/arrayfuncs.c,
> does this:
>
> /* Send the array header information */
> pq_sendint(&buf, ndim, 4);
> pq_sendint(&buf, v->flags, 4);
> pq_sendint(&buf, element_type, sizeof(Oid));
> for (i = 0; i < ndim; i++)
> {
> pq_sendint(&buf, ARR_DIMS(v)[i], 4);
> pq_sendint(&buf, ARR_LBOUND(v)[i], 4);
> }
Thanks very much.
> I believe flags is always 0 at the moment; it might be a good idea
> to punt if you see a nonzero there.
I have added code for check it.
--
Best regards
Carlos Guzma'n A'lvarez
Vigo-Spain
- Miembro del Proyecto FirebirdSQL.
- Miembro honorario de la Fundacio'n FirebirdSQL.
http://www.firebirdsql.org