|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50575 PDO_PGSQL LOBs are not compatible with PostgreSQL 8.5
Submitted: 2009-12-25 20:01 UTC Modified: 2009-12-25 20:11 UTC
From: Assigned: mbeccati (profile)
Status: Closed Package: PDO related
PHP Version: 5.2.12 OS: *
Private report: No CVE-ID: None
 [2009-12-25 20:01 UTC]
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-25 20:09 UTC]
Automatic comment from SVN on behalf of mbeccati
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:11 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 12 12:01:31 2024 UTC