Bug #12818 Updated: missing include "php_config.h" in ext/pgsql/pgsql.c
| From: | sniper@php.net | Date: | Sat, 18 Aug 2001 07:19:11 +0000 |
| Subject: | Bug #12818 Updated: missing include "php_config.h" in ext/pgsql/pgsql.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63573@lists.php.net to get a copy of this message | ||
ID: 12818
Updated by: sniper
Reported By: doug@oakstreetsoftware.com
Old Status: Open
Status: Closed
Bug Type: PostgreSQL related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Works for me with PHP 4.0.7RC1.
How did you compile the extension? As a shared?
Please try the latest RC from:
http://www.php.net/~zeev/php-4.0.7-latest.tar.gz
Reopen if it doesn't work either.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-08-17 15:41:02] doug@oakstreetsoftware.com
Due to the ommission of the "php_config.h" header file in pgsql.c, the pg_cmdtuples()
function was unsupported where it should have been supported. (this is due to no definition for
preprocessor variable "HAVE_PQCMDTUPLES" which was defined correctly (value=1) in
php_config.h, but the pgsql.c file had not includede the configuration.
The fix was simply to add the header and recompile.
Thank you for being open-source.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12818&edit=1