Re: Question about array read using protocol 3.0 implementation

Поиск
Список
Период
Сортировка
От Carlos Guzman Alvarez
Тема Re: Question about array read using protocol 3.0 implementation
Дата
Msg-id 3F000AAC.1070403@telefonica.net
обсуждение исходный текст
Ответ на Re: Question about array read using protocol 3.0 implementation in C#  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: PlPython
Следующее
От: deststar
Дата:
Сообщение: Is Patch Ok for deferred trigger disk queue?