MDB2 postgres pg_escape_bytea
| From: | Mario Gzuk | Date: | Thu, 14 Jul 2011 14:09:16 +0000 |
| Subject: | MDB2 postgres pg_escape_bytea | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31172@lists.php.net to get a copy of this message | ||
Hi,
a select on a binary filed returns a escaped value.
How to to get use of automaticaly convert the value on a bytea field?
The http://pear.php.net/package/MDB2_Driver_pgsql/docs/latest/__filesource/fsource_MDB2__MDB2_Driver_pgsql-1.5.0b3MDB2DriverDatatypepgsql.php.html says that it should be done by pg_unescape_bytea, but I only get an escaped value.
Thank you
Cheers