Bug #51617 [Opn->Csd]: PDO PGSQL still broken against PostGreSQL < 7.4
| From: | felipe@php.net | Date: | Wed, 21 Apr 2010 01:19:52 +0000 |
| Subject: | Bug #51617 [Opn->Csd]: PDO PGSQL still broken against PostGreSQL < 7.4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-149742@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51617&edit=1
ID: 51617
Updated by: felipe@php.net
Reported by: wdierkes at 5dollarwhitebox dot org
Summary: PDO PGSQL still broken against PostGreSQL < 7.4
-Status: Open
+Status: Closed
Type: Bug
Package: PDO related
Operating System: Redhat Enterprise Linux 3
PHP Version: 5.2.13
-Assigned To:
+Assigned To: felipe
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.
Fixed in 5.2 branch.
Thanks for the patch.
Previous Comments:
------------------------------------------------------------------------
[2010-04-21 03:18:20] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=298240
Log: - Fixed bug #51617 (PDO PGSQL still broken against PostGreSQL <
7.4)
# Just in this branch, as config.m4 in the 5_3 branch states that 7.4+
is required
------------------------------------------------------------------------
[2010-04-20 20:41:20] wdierkes at 5dollarwhitebox dot org
Description:
------------
RELATED (but all closed):
http://bugs.php.net/search.php?search_for=pqfreemem&boolean=0&limit=30&order_by=&direction=DESC&cmd=display&status=All&bug_type=All&php_os=&phpver=&assign=&author_email=&bug_age=0&bug_updated=0
This is not resolved entirely. As of 5.2.13 PHP will build against
PQSQL < 7.4 but it does not function properly:
[wdierkes@esx02-bjd-el3-i386 wdierkes]$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/pdo_pgsql.so' - /usr/lib/php/modules/pdo_pgsql.so:
undefined symbol: PQfreemem in Unknown on line 0
PHP 5.2.13 (cli) (built: Apr 8 2010 16:08:42)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
The issue was partially fixed in ext/pgsql/pgsql.c but the same fix was
not applied to pdo_pgsql. The attached patch should resolve the issue.
Test script:
---------------
php -v
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51617&edit=1