binary cursor returning truncated data - Mailing list pgsql-php

From Eric Mauvière
Subject binary cursor returning truncated data
Date
Msg-id 01e001c65e3c$3e9070e0$0200a8c0@EMC3
Whole thread Raw
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: Michael Fuhr
Date:
Subject: Re: binary cursor returning truncated data
Next
From: Eric Mauvière
Date:
Subject: Re: binary cursor returning truncated data