iliaa Mon Jul 2 15:37:44 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/pgsql pgsql.c /php-src NEWS Log: Fixed bug #41845 (pgsql extension does not compile with PostgreSQL <7.4) http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/pgsql.c?r1=1.331.2.13.2.20&r2=1.331.2.13.2.21&diff_format=u Index: php-src/ext/pgsql/pgsql.c diff -u php-src/ext/pgsql/pgsql.c:1.331.2.13.2.20 php-src/ext/pgsql/pgsql.c:1.331.2.13.2.21 --- php-src/ext/pgsql/pgsql.c:1.331.2.13.2.20 Sat Feb 24 02:17:25 2007 +++ php-src/ext/pgsql/pgsql.c Mon Jul 2 15:37:43 2007 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.331.2.13.2.20 2007/02/24 02:17:25 helly Exp $ */ +/* $Id: pgsql.c,v 1.331.2.13.2.21 2007/07/02 15:37:43 iliaa Exp $ */ #include <stdlib.h> @@ -81,6 +81,10 @@ #define CHECK_DEFAULT_LINK(x) if ((x) == -1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PostgreSQL link opened yet"); } +#ifndef HAVE_PQFREEMEM +#define PGfreemem free +#endif + ZEND_DECLARE_MODULE_GLOBALS(pgsql) static PHP_GINIT_FUNCTION(pgsql); http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.809&r2=1.2027.2.547.2.810&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.809 php-src/NEWS:1.2027.2.547.2.810 --- php-src/NEWS:1.2027.2.547.2.809 Mon Jul 2 11:37:26 2007 +++ php-src/NEWS Mon Jul 2 15:37:43 2007 @@ -41,6 +41,8 @@ - Fixed bug #41867 (getName is broken). (Rob) - Fixed bug #41865 (fputcsv(): 2nd parameter is not optional). (Jani) +- Fixed bug #41845 (pgsql extension does not compile with PostgreSQL <7.4). + (Ilia) - Fixed bug #41813 (segmentation fault when using string offset as an object). (judas dot iscariote at gmail dot com, Tony) - Fixed bug #41795 (checkdnsrr does not support DNS_TXT type). @@ -56,7 +58,7 @@ (Chris Jones, Tony) - Fixed bug #41698 (float parameters truncated to integer in prepared statements). (Ilia) -- Fixed bug #41692 (ArrayObject shows weird behaviour in respect to +- Fixed bug #41692 (ArrayObject shows weird behavior in respect to inheritance). (Tony) - Fixed bug #41686 (Omitting length param in array_slice not possible). (Ilia)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php