#36803 [Opn->Bgs]: pdo_pgsql lobs problem
| From: | tony2001@php.net | Date: | Mon, 20 Mar 2006 19:17:01 +0000 |
| Subject: | #36803 [Opn->Bgs]: pdo_pgsql lobs problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-94660@lists.php.net to get a copy of this message | ||
ID: 36803
Updated by: tony2001@php.net
Reported By: mauroi at digbang dot com
-Status: Open
+Status: Bogus
Bug Type: PDO related
Operating System: Win XP SP2
PHP Version: 5.1.2
New Comment:
.
Previous Comments:
------------------------------------------------------------------------
[2006-03-20 20:13:01] mauroi at digbang dot com
Description:
------------
I'm trying to insert a lob into a pgsql field.
My first problem is that the documentation doesn't say if the table
field should be a bytea or an oid (more suitable for a large object). I
supposed both worked.
I've tried with a bytea and it worked as expected. But the same
operation with an OID field doesn't work.
(Also, i've noticed three undocumented public methods in pdo_pgsql
(pgsqlLOBUnlink, pgsqlLOBOpen, pgsqlLOBCreate))
Shouldn't it work with both methods???
At least, the quote function escapes always the lob as if it was a
bytea. But in the rest of the driver it considers the possibility of an
oid.
Thanks in advance.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36803&edit=1