php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10406 PHP needs a patch to compile with PostgreSQL 7.1
Submitted: 2001-04-19 12:06 UTC Modified: 2001-05-27 19:00 UTC
From: barbato at inquare dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.4pl1 OS: debian gnu linux 2.4.3
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: barbato at inquare dot com
New email:
PHP Version: OS:

 

 [2001-04-19 12:06 UTC] barbato at inquare dot com
It seems that pgsql guys have changed headers' inclusion 
policy in 7.1:

---------------------------------------------------------
 * postgres.h
 *        Primary include file for PostgreSQL server .c 
files
 *
 * This should be the first file included by PostgreSQL 
backend modules.
 * Client-side code should include postgres_fe.h instead.
---------------------------------------------------------

PHP must include postgres_fe.h instead of postgres.h in 
phpsrc/ext/pgsql/php_pgsql.h line 32.

that's all.

stefano barbato


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-23 06:14 UTC] sniper@php.net
reclassified
 [2001-05-27 19:00 UTC] sniper@php.net
This should be fixed in CVS and in PHP 4.0.6.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 00:01:29 2025 UTC