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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC