binary cursor returning truncated data - Mailing list pgsql-php

From Eric Mauvière
Subject binary cursor returning truncated data
Date
Msg-id 020401c65e3c$70721050$0200a8c0@EMC3
Whole thread Raw
Responses Re: binary cursor returning truncated data  (Michael Fuhr <mike@fuhr.org>)
List 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 by date:

Previous
From: Mariusz Pękala
Date:
Subject: Re: Unable to connect to PostgreSQL Server: Permission denied
Next
From: Michael Fuhr
Date:
Subject: Re: binary cursor returning truncated data