binary cursor returning truncated data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux