DB_Common::autoExecute() & PostgreSQL

From: Date: Wed, 08 Dec 2004 15:04:15 +0000
Subject: DB_Common::autoExecute() & PostgreSQL
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16158@lists.php.net to get a copy of this message
Dear All, I would like to update bytea field using DB_Common::autoExecute(), but that result is errors (DB Error: unknown error) my source: $fields_values['foto'] =pg_escape_bytea(file_get_contents($_FILES['filePicture']['tmp_name'])); $result = $db->autoExecute('mytable', $fields_values, DB_AUTOQUERY_UPDATE, 'id ='.$arg[1]); if (DB::isError($result)) { die ($result->getMessage()); } but when i using MySQL, there is no error. How to fix?

« previous php.pear.general (#16158) next »