php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3056 Wrong includes in ext/pgsql/php3_pgsql.h
Submitted: 1999-12-28 08:32 UTC Modified: 1999-12-29 09:26 UTC
From: php at ragnark dot vestdata dot no Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 3 OS: RH 6.0 i386
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at ragnark dot vestdata dot no
New email:
PHP Version: OS:

 

 [1999-12-28 08:32 UTC] php at ragnark dot vestdata dot no
php didn't compile because non-existing files were included in ext/pgsql/php3_pgsql.h. The postgresql-devel-6.5-1.rpm includes:
/usr/include/pgsql/libpq-fe.h
/usr/include/pgsql/libpq-int.h
/usr/include/pgsql/libpq/libpq-fs.h

I believe postgres changed the names of theese files in the 6.5 release - so the problem is probably not RedHat specific.

--- php-4.0b3/ext/pgsql/php3_pgsql.h.orig       Tue Dec 28 13:51:20 1999
+++ php-4.0b3/ext/pgsql/php3_pgsql.h    Tue Dec 28 13:51:45 1999
@@ -43,8 +43,8 @@
 #define pgsql_module_ptr &pgsql_module_entry


-#include <libpq-fe.h>
-#include <libpq/libpq-fs.h>
+#include <pgsql/libpq-fe.h>
+#include <pgsql/libpq/libpq-fs.h>

 extern int php3_minit_pgsql(INIT_FUNC_ARGS);
 extern int php3_rinit_pgsql(INIT_FUNC_ARGS);

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-29 09:26 UTC] rasmus at cvs dot php dot net
Unable to reproduce using current pgsql snapshot and current PHP4 cvs - so either someone fixed it, or you are hallucinating. ;)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jul 02 04:00:02 2026 UTC