binary cursor returning truncated data

Поиск
Список
Период
Сортировка
От Eric Mauvière
Тема binary cursor returning truncated data
Дата
Msg-id 020401c65e3c$70721050$0200a8c0@EMC3
обсуждение исходный текст
Ответы Re: binary cursor returning truncated data  (Michael Fuhr <mike@fuhr.org>)
Список 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 по дате отправления:

Предыдущее
От: Mariusz Pękala
Дата:
Сообщение: Re: Unable to connect to PostgreSQL Server: Permission denied
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: binary cursor returning truncated data