binary cursor returning truncated data

Поиск
Список
Период
Сортировка
От Eric Mauvière
Тема binary cursor returning truncated data
Дата
Msg-id 01e001c65e3c$3e9070e0$0200a8c0@EMC3
обсуждение исходный текст
Список pgsql-php
Hello,
 
i am trying to retrieve binary content of a bytea field (or postgis geometry field) with a binary cursor with PHP :
 
$sql="BEGIN;DECLARE mycursor BINARY CURSOR FOR SELECT shape FROM $layerName; fetch all in mycursor;"
....pg_query...
 
But my shape field shows only two bytes of data.
 
Does someone know if it is a current PHP restriction ?
 
Thanks by advance,
 
Eric

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: binary cursor returning truncated data
Следующее
От: Eric Mauvière
Дата:
Сообщение: Re: binary cursor returning truncated data