#50575 [Opn->Csd]: PDO_PGSQL LOBs are not compatible with PostgreSQL 8.5
| From: | mbeccati@php.net | Date: | Fri, 25 Dec 2009 20:11:39 +0000 |
| Subject: | #50575 [Opn->Csd]: PDO_PGSQL LOBs are not compatible with PostgreSQL 8.5 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146112@lists.php.net to get a copy of this message | ||
ID: 50575
Updated by: mbeccati@php.net
Reported By: mbeccati@php.net
-Status: Open
+Status: Closed
Bug Type: PDO related
Operating System: *
PHP Version: 5.2.12
Assigned To: mbeccati
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2009-12-25 20:09:09] svn@php.net
Automatic comment from SVN on behalf of mbeccati
Revision: http://svn.php.net/viewvc/?view=revision&revision=292629
Log: - Fixed bug #50575 (PDO_PGSQL LOBs are not compatible with
PostgreSQL 8.5)
# Affects 5.2 only, no need to MFB
------------------------------------------------------------------------
[2009-12-25 20:01:08] mbeccati@php.net
Description:
------------
Tested with 8.5alpha3. Some 5.3+ improvemnts were not backported to
5.2. Specifically ones that were raising the minimum requirements.
PDO_PGSQL in PHP 5.2 doesn't use PQunescapeBytea, but a copy of its
code taken from an old version of Postgres, thus can't properly decode
bytea fields on 8.5 because the default encoding has changed to the new
"hex" format, while 5.3+ can.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50575&edit=1