php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12818 missing include "php_config.h" in ext/pgsql/pgsql.c
Submitted: 2001-08-17 15:41 UTC Modified: 2001-08-18 03:19 UTC
From: doug at oakstreetsoftware dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: doug at oakstreetsoftware dot com
New email:
PHP Version: OS:

 

 [2001-08-17 15:41 UTC] doug at oakstreetsoftware dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-18 03:19 UTC] sniper@php.net
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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 13:01:34 2024 UTC