Edit report at http://bugs.php.net/bug.php?id=51617&edit=1

 ID:               51617
 Updated by:       fel...@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] fel...@php.net

Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=298240
Log: - Fixed bug #51617 (PDO PGSQL still broken against PostGreSQL &lt;
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:



[wdier...@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

Reply via email to