Bug #12818: missing include "php_config.h" in ext/pgsql/pgsql.c
| From: | doug at oakstreetsoftware dot com | Date: | Fri, 17 Aug 2001 19:41:02 +0000 |
| Subject: | Bug #12818: missing include "php_config.h" in ext/pgsql/pgsql.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63555@lists.php.net to get a copy of this message | ||
From: doug@oakstreetsoftware.com
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: PostgreSQL related
Bug description: missing include "php_config.h" in ext/pgsql/pgsql.c
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 bug report at: http://bugs.php.net/?id=12818&edit=1