(forw) (forw) Re: PHP 4.0.4pl1 BUILD: BUSTED WITH CURRENT CVS

Started by Larry Rosenmanabout 25 years ago38 messageshackers
Jump to latest
#1Larry Rosenman
ler@lerctr.org

OK, I found it. PHP was including postgres.h (which we no longer
install...., so we were picking up a Feb 7 version).

Changing php's ext/pgsql/php_pgsql.h to #include <postgres_fe.h>
fixes it.

This is a gotcha for people following CVS or not cleaning out
the $(DESTDIR)/include directory

I'll submit a patch to the PHP folk.

LER

----- Forwarded message from Larry Rosenman <ler@lerctr.org> -----

From: Larry Rosenman <ler@lerctr.org>
Subject: (forw) Re: [HACKERS] PHP 4.0.4pl1 BUILD: BUSTED WITH CURRENT CVS
Date: Sun, 18 Feb 2001 14:50:32 -0600
Message-ID: <20010218145032.A6190@lerami.lerctr.org>
User-Agent: Mutt/1.3.15i
X-Mailer: Mutt http://www.mutt.org/
To: PostgreSQL Hackers List <pgsql-hackers@postgresql.org>,
tgl@sss.pgh.pa.us, Peter Eisentraut <peter_e@gmx.net>

Re-Sent due to bounce from ftp.postgresql.org

----- Forwarded message from Larry Rosenman <ler@lerctr.org> -----

From: Larry Rosenman <ler@lerctr.org>
Subject: Re: [HACKERS] PHP 4.0.4pl1 BUILD: BUSTED WITH CURRENT CVS
Date: Sun, 18 Feb 2001 14:41:33 -0600
Message-ID: <20010218144133.A5745@lerami.lerctr.org>
User-Agent: Mutt/1.3.15i
X-Mailer: Mutt http://www.mutt.org/
To: PostgreSQL Hackers List <pgsql-hackers@postgresql.org>

* Larry Rosenman <ler@lerctr.org> [010218 14:19]:

PHP 4.0.4pl1 Build dies with current CVS:
Making all in pgsql
gmake[2]: Entering directory `/home/ler/php/ext/pgsql'
gmake[3]: Entering directory `/home/ler/php/ext/pgsql'
/bin/sh /home/ler/php/libtool --silent --mode=compile cc -Xb -I.
-I/home/ler/php/ext/pgsql -I/home/ler/php/main -I/home/ler/php
-I/usr/internet/apache/include -I/home/ler/php/Zend
-I/usr/local/ssl/include -I/usr/local/include
-I/home/ler/php/ext/xml/expat/xmltok
-I/home/ler/php/ext/xml/expat/xmlparse -I/home/ler/php/TSRM
-I/usr/local/pgsql/include -DNDEBUG -DUW=700 -DUSE_HSREGEX -DUSE_EXPAT
-DXML_BYTE_ORDER=12 -O -c pgsql.c
UX:acomp: WARNING: "/usr/local/pgsql/include/postgres.h", line 53:
typedef redeclared: regproc
UX:acomp: WARNING: "/usr/local/pgsql/include/postgres.h", line 54:
typedef redeclared: RegProcedure
UX:acomp: ERROR: "/usr/local/pgsql/include/postgres.h", line 69:
(struct) tag redeclared: varlena
UX:acomp: ERROR: "/usr/local/pgsql/include/postgres.h", line 87:
identifier redeclared: bytea
UX:acomp: ERROR: "/usr/local/pgsql/include/postgres.h", line 88:
identifier redeclared: text
UX:acomp: ERROR: "/usr/local/pgsql/include/postgres.h", line 89:
identifier redeclared: BpChar
UX:acomp: ERROR: "/usr/local/pgsql/include/postgres.h", line 90:
identifier redeclared: VarChar
UX:acomp: WARNING: "/usr/local/pgsql/include/postgres.h", line 171:
typedef redeclared: int2vector
UX:acomp: WARNING: "/usr/local/pgsql/include/postgres.h", line 172:
typedef redeclared: oidvector
UX:acomp: ERROR: "/usr/local/pgsql/include/postgres.h", line 179:
(union) tag redeclared: nameData
UX:acomp: ERROR: "/usr/local/pgsql/include/postgres.h", line 182:
identifier redeclared: NameData
UX:acomp: ERROR: "/usr/local/pgsql/include/postgres.h", line 183:
identifier redeclared: Name
UX:acomp: WARNING: "/usr/local/pgsql/include/postgres.h", line 192:
typedef redeclared: TransactionId
UX:acomp: WARNING: "/usr/local/pgsql/include/postgres.h", line 196:
typedef redeclared: CommandId
gmake[3]: *** [pgsql.lo] Error 1
gmake[3]: Leaving directory `/home/ler/php/ext/pgsql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/ler/php/ext/pgsql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/ler/php/ext'
gmake: *** [all-recursive] Error 1
$

more info, courtesy gcc:
$ sh x
gcc: unrecognized option `-KPIC'
In file included from php_pgsql.h:32,
from pgsql.c:29:
/usr/local/pgsql/include/postgres.h:53: redefinition of `regproc'
/usr/local/pgsql/include/c.h:312: `regproc' previously declared here
/usr/local/pgsql/include/postgres.h:54: redefinition of `RegProcedure'
/usr/local/pgsql/include/c.h:313: `RegProcedure' previously declared
here
/usr/local/pgsql/include/postgres.h:69: redefinition of `struct
varlena'
/usr/local/pgsql/include/postgres.h:87: redefinition of `bytea'
/usr/local/pgsql/include/c.h:354: `bytea' previously declared here
/usr/local/pgsql/include/postgres.h:88: redefinition of `text'
/usr/local/pgsql/include/c.h:355: `text' previously declared here
/usr/local/pgsql/include/postgres.h:89: redefinition of `BpChar'
/usr/local/pgsql/include/c.h:356: `BpChar' previously declared here
/usr/local/pgsql/include/postgres.h:90: redefinition of `VarChar'
/usr/local/pgsql/include/c.h:357: `VarChar' previously declared here
/usr/local/pgsql/include/postgres.h:171: redefinition of `int2vector'
/usr/local/pgsql/include/c.h:363: `int2vector' previously declared
here
/usr/local/pgsql/include/postgres.h:172: redefinition of `oidvector'
/usr/local/pgsql/include/c.h:364: `oidvector' previously declared here
/usr/local/pgsql/include/postgres.h:179: redefinition of `union
nameData'
/usr/local/pgsql/include/postgres.h:182: redefinition of `NameData'
/usr/local/pgsql/include/c.h:375: `NameData' previously declared here
/usr/local/pgsql/include/postgres.h:183: redefinition of `Name'
/usr/local/pgsql/include/c.h:376: `Name' previously declared here
/usr/local/pgsql/include/postgres.h:192: redefinition of
`TransactionId'
/usr/local/pgsql/include/c.h:315: `TransactionId' previously declared
here
/usr/local/pgsql/include/postgres.h:196: redefinition of `CommandId'
/usr/local/pgsql/include/c.h:319: `CommandId' previously declared here
$

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

----- End forwarded message -----

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

----- End forwarded message -----

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Larry Rosenman (#1)
Re: (forw) (forw) Re: PHP 4.0.4pl1 BUILD: BUSTED WITH CURRENT CVS

Larry Rosenman <ler@lerctr.org> writes:

OK, I found it. PHP was including postgres.h (which we no longer
install...., so we were picking up a Feb 7 version).
Changing php's ext/pgsql/php_pgsql.h to #include <postgres_fe.h>
fixes it.

Hm. Should php be including either one? I would have been in less
hurry to invent a new file if I had thought that client apps were
including postgres.h ...

regards, tom lane

#3Larry Rosenman
ler@lerctr.org
In reply to: Tom Lane (#2)
Re: (forw) (forw) Re: PHP 4.0.4pl1 BUILD: BUSTED WITH CURRENT CVS

* Tom Lane <tgl@sss.pgh.pa.us> [010218 16:54]:

Larry Rosenman <ler@lerctr.org> writes:

OK, I found it. PHP was including postgres.h (which we no longer
install...., so we were picking up a Feb 7 version).
Changing php's ext/pgsql/php_pgsql.h to #include <postgres_fe.h>
fixes it.

Hm. Should php be including either one? I would have been in less
hurry to invent a new file if I had thought that client apps were
including postgres.h ...

hmm. It include libpq-fe.h as well.

regards, tom lane

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#4Larry Rosenman
ler@lerctr.org
In reply to: Tom Lane (#2)
Re: (forw) (forw) Re: PHP 4.0.4pl1 BUILD: BUSTED WITH CURRENT CVS

* Tom Lane <tgl@sss.pgh.pa.us> [010218 16:54]:

Larry Rosenman <ler@lerctr.org> writes:

OK, I found it. PHP was including postgres.h (which we no longer
install...., so we were picking up a Feb 7 version).
Changing php's ext/pgsql/php_pgsql.h to #include <postgres_fe.h>
fixes it.

Hm. Should php be including either one? I would have been in less
hurry to invent a new file if I had thought that client apps were
including postgres.h ...

Interestingly, leaving out postgres_fe.h works as well.

I'll update my bug report w/php to delete that line altogether.

regards, tom lane

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#5Larry Rosenman
ler@lerctr.org
In reply to: Tom Lane (#2)
Re: (forw) (forw) Re: PHP 4.0.4pl1 BUILD: BUSTED WITH CURRENT CVS

* Tom Lane <tgl@sss.pgh.pa.us> [010218 16:54]:

Larry Rosenman <ler@lerctr.org> writes:

OK, I found it. PHP was including postgres.h (which we no longer
install...., so we were picking up a Feb 7 version).
Changing php's ext/pgsql/php_pgsql.h to #include <postgres_fe.h>
fixes it.

Hm. Should php be including either one? I would have been in less
hurry to invent a new file if I had thought that client apps were
including postgres.h ...

Updated to not include either postgres.h or postgres_fe.h....

FYI, bug # in PHP's DB is 9328.

LER

regards, tom lane

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#6Mitch Vincent
mitch@venux.net
In reply to: Larry Rosenman (#1)
PHP 4.0.4pl1 / Beta 5

I sure hope it gets more attention than some of the other PHP PostgreSQL
bugs.. I don't mean to trash anyone here but the pg_connect problem has been
around since 4.0.1 and has yet to be addressed. One of our programmers is
taking a look at that one but he's not been able to fix it yet.

*crosses fingers*

Is there anything stupendously broken in PG beta 4? I have it on my devel
server and don't want to have to recompile (right now at least, deadlines
are growing close) unless I stand a large chance of pulling the pin on a
grenade somewhere.

Thanks!!

-Mitch

----- Original Message -----
From: "Larry Rosenman" <ler@lerctr.org>
To: "Tom Lane" <tgl@sss.pgh.pa.us>
Cc: "PostgreSQL Hackers List" <pgsql-hackers@postgresql.org>; "Peter
Eisentraut" <peter_e@gmx.net>; "Bruce Momjian" <pgman@candle.pha.pa.us>
Sent: Sunday, February 18, 2001 6:02 PM
Subject: Re: (forw) (forw) Re: PHP 4.0.4pl1 BUILD: BUSTED WITH CURRENT CVS

Show quoted text

* Tom Lane <tgl@sss.pgh.pa.us> [010218 16:54]:

Larry Rosenman <ler@lerctr.org> writes:

OK, I found it. PHP was including postgres.h (which we no longer
install...., so we were picking up a Feb 7 version).
Changing php's ext/pgsql/php_pgsql.h to #include <postgres_fe.h>
fixes it.

Hm. Should php be including either one? I would have been in less
hurry to invent a new file if I had thought that client apps were
including postgres.h ...

Updated to not include either postgres.h or postgres_fe.h....

FYI, bug # in PHP's DB is 9328.

LER

regards, tom lane

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#7Tom Lane
tgl@sss.pgh.pa.us
In reply to: Mitch Vincent (#6)
Re: PHP 4.0.4pl1 / Beta 5

"Mitch Vincent" <mitch@venux.net> writes:

Is there anything stupendously broken in PG beta 4?

Other than the bug I introduced into b4 for views containing UNION, a
quick scan of the CVS logs doesn't show any showstoppers fixed in the
backend (dunno what all Peter Mount has been doing in JDBC though).
You could probably hold off updating for a little while.

regards, tom lane

#8Bruce Momjian
bruce@momjian.us
In reply to: Mitch Vincent (#6)
Re: PHP 4.0.4pl1 / Beta 5

[ Charset ISO-8859-1 unsupported, converting... ]

I sure hope it gets more attention than some of the other PHP PostgreSQL
bugs.. I don't mean to trash anyone here but the pg_connect problem has been
around since 4.0.1 and has yet to be addressed. One of our programmers is
taking a look at that one but he's not been able to fix it yet.

I have worked with Thies on getting persistent connections to work
better. If there are any PostgreSQL problems with PHP, I recommend
sending something to him as he is focused on PostgreSQL recently.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#9Larry Rosenman
ler@lerctr.org
In reply to: Bruce Momjian (#8)
Re: PHP 4.0.4pl1 / Beta 5

* Bruce Momjian <pgman@candle.pha.pa.us> [010218 21:23]:

[ Charset ISO-8859-1 unsupported, converting... ]

I sure hope it gets more attention than some of the other PHP PostgreSQL
bugs.. I don't mean to trash anyone here but the pg_connect problem has been
around since 4.0.1 and has yet to be addressed. One of our programmers is
taking a look at that one but he's not been able to fix it yet.

I have worked with Thies on getting persistent connections to work
better. If there are any PostgreSQL problems with PHP, I recommend
sending something to him as he is focused on PostgreSQL recently.

Can you point him at today's fun?

Bug#9328 in PHP's bug DB.

LER

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#10Michael Fork
mfork@toledolink.com
In reply to: Bruce Momjian (#8)
Re: PHP 4.0.4pl1 / Beta 5

FWIW, I emailed Thies about the pg_connect problems, and whis is what he
responded with (yesterday would be Feb 13):

----

i've commited a fix for this to PHP 4 CVS yesterday.

if you don't want to live on the "bleeding edge" (use PHP
from CVS) just replace the php_pgsql_set_default_link
function in pgsql.c against this one and you're all-set!

regards,
tc

static void php_pgsql_set_default_link(int id)
{
PGLS_FETCH();

if ((PGG(default_link) != -1) && (PGG(default_link) != id)) {
zend_list_delete(PGG(default_link));
}

if (PGG(default_link) != id) {
PGG(default_link) = id;
zend_list_addref(id);
}
}

-----

Michael Fork - CCNA - MCP - A+
Network Support - Toledo Internet Access - Toledo Ohio

On Sun, 18 Feb 2001, Bruce Momjian wrote:

Show quoted text

[ Charset ISO-8859-1 unsupported, converting... ]

I sure hope it gets more attention than some of the other PHP PostgreSQL
bugs.. I don't mean to trash anyone here but the pg_connect problem has been
around since 4.0.1 and has yet to be addressed. One of our programmers is
taking a look at that one but he's not been able to fix it yet.

I have worked with Thies on getting persistent connections to work
better. If there are any PostgreSQL problems with PHP, I recommend
sending something to him as he is focused on PostgreSQL recently.

-- 
Bruce Momjian                        |  http://candle.pha.pa.us
pgman@candle.pha.pa.us               |  (610) 853-3000
+  If your life is a hard drive,     |  830 Blythe Avenue
+  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#11Bruce Momjian
bruce@momjian.us
In reply to: Michael Fork (#10)
Re: PHP 4.0.4pl1 / Beta 5

Great! Glad to see our PHP interface improving.

FWIW, I emailed Thies about the pg_connect problems, and whis is what he
responded with (yesterday would be Feb 13):

----

i've commited a fix for this to PHP 4 CVS yesterday.

if you don't want to live on the "bleeding edge" (use PHP
from CVS) just replace the php_pgsql_set_default_link
function in pgsql.c against this one and you're all-set!

regards,
tc

static void php_pgsql_set_default_link(int id)
{
PGLS_FETCH();

if ((PGG(default_link) != -1) && (PGG(default_link) != id)) {
zend_list_delete(PGG(default_link));
}

if (PGG(default_link) != id) {
PGG(default_link) = id;
zend_list_addref(id);
}
}

-----

Michael Fork - CCNA - MCP - A+
Network Support - Toledo Internet Access - Toledo Ohio

On Sun, 18 Feb 2001, Bruce Momjian wrote:

[ Charset ISO-8859-1 unsupported, converting... ]

I sure hope it gets more attention than some of the other PHP PostgreSQL
bugs.. I don't mean to trash anyone here but the pg_connect problem has been
around since 4.0.1 and has yet to be addressed. One of our programmers is
taking a look at that one but he's not been able to fix it yet.

I have worked with Thies on getting persistent connections to work
better. If there are any PostgreSQL problems with PHP, I recommend
sending something to him as he is focused on PostgreSQL recently.

-- 
Bruce Momjian                        |  http://candle.pha.pa.us
pgman@candle.pha.pa.us               |  (610) 853-3000
+  If your life is a hard drive,     |  830 Blythe Avenue
+  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#12Bruce Momjian
bruce@momjian.us
In reply to: Larry Rosenman (#9)
Re: PHP 4.0.4pl1 / Beta 5

Just shoot it over to the PHP folks. Seems they are already on top if
it. I don't want to work around their normal system unless necessary.

* Bruce Momjian <pgman@candle.pha.pa.us> [010218 21:23]:

[ Charset ISO-8859-1 unsupported, converting... ]

I sure hope it gets more attention than some of the other PHP PostgreSQL
bugs.. I don't mean to trash anyone here but the pg_connect problem has been
around since 4.0.1 and has yet to be addressed. One of our programmers is
taking a look at that one but he's not been able to fix it yet.

I have worked with Thies on getting persistent connections to work
better. If there are any PostgreSQL problems with PHP, I recommend
sending something to him as he is focused on PostgreSQL recently.

Can you point him at today's fun?

Bug#9328 in PHP's bug DB.

LER

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#13Larry Rosenman
ler@lerctr.org
In reply to: Bruce Momjian (#12)
Re: PHP 4.0.4pl1 / Beta 5

* Bruce Momjian <pgman@candle.pha.pa.us> [010218 22:25]:

Just shoot it over to the PHP folks. Seems they are already on top if
it. I don't want to work around their normal system unless necessary.

Their stuff seems to sit forever. I put it in the BugDB.

I have a couple of other UnixWare issues that have sort of
languished...

Your call Though...

* Bruce Momjian <pgman@candle.pha.pa.us> [010218 21:23]:

[ Charset ISO-8859-1 unsupported, converting... ]

I sure hope it gets more attention than some of the other PHP PostgreSQL
bugs.. I don't mean to trash anyone here but the pg_connect problem has been
around since 4.0.1 and has yet to be addressed. One of our programmers is
taking a look at that one but he's not been able to fix it yet.

I have worked with Thies on getting persistent connections to work
better. If there are any PostgreSQL problems with PHP, I recommend
sending something to him as he is focused on PostgreSQL recently.

Can you point him at today's fun?

Bug#9328 in PHP's bug DB.

LER

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

-- 
Bruce Momjian                        |  http://candle.pha.pa.us
pgman@candle.pha.pa.us               |  (610) 853-3000
+  If your life is a hard drive,     |  830 Blythe Avenue
+  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#14Sascha Schumann
sascha@schumann.cx
In reply to: Larry Rosenman (#13)
Re: PHP 4.0.4pl1 / Beta 5

On Sun, 18 Feb 2001, Larry Rosenman wrote:

* Bruce Momjian <pgman@candle.pha.pa.us> [010218 22:25]:

Just shoot it over to the PHP folks. Seems they are already on top if
it. I don't want to work around their normal system unless necessary.

Their stuff seems to sit forever. I put it in the BugDB.

The problem here is that we don't plan to release 4.0.5
during the next month. I don't know the exact timeframe for
the release of PostgreSQL 7.0.1, but regular releases of
PostgreSQL/PHP won't compile together for at least some time.
That is rather frustating for the end-user and will delay the
adoption of the new PostgreSQL release.

I have a couple of other UnixWare issues that have sort of
languished...

I found one report which is related to UnixWare's broken
system libraries (#8441). I'll look into working around that
later. If there are others, please point me into their
direction.

Thanks,
- Sascha

#15Sascha Schumann
sascha@schumann.cx
In reply to: Bruce Momjian (#12)
Re: PHP 4.0.4pl1 / Beta 5

On Sun, 18 Feb 2001, Bruce Momjian wrote:

Just shoot it over to the PHP folks. Seems they are already on top if
it. I don't want to work around their normal system unless necessary.

I've committed an autoconf check, so PHP 4.0.5 and upwards
will be compatible with existing and future PostgreSQL
versions. Additionally, discussions about starting the
release process for 4.0.5 have commenced.

It'd be cool, if PostgreSQL and/or the C front-end would have
a numeric version indicator which we could use to check for
features, etc.

#include <libpq-fe.h>
#if defined(PGSQL_FE_VERSION) && PGSQL_FE_VERSION < 20010210
# include <postgres.h>
#endif

- Sascha

#16Larry Rosenman
ler@lerctr.org
In reply to: Sascha Schumann (#14)
Re: PHP 4.0.4pl1 / Beta 5

* Sascha Schumann <sascha@schumann.cx> [010219 01:37]:

On Sun, 18 Feb 2001, Larry Rosenman wrote:

* Bruce Momjian <pgman@candle.pha.pa.us> [010218 22:25]:

Just shoot it over to the PHP folks. Seems they are already on top if
it. I don't want to work around their normal system unless necessary.

Their stuff seems to sit forever. I put it in the BugDB.

The problem here is that we don't plan to release 4.0.5
during the next month. I don't know the exact timeframe for
the release of PostgreSQL 7.0.1, but regular releases of
PostgreSQL/PHP won't compile together for at least some time.
That is rather frustating for the end-user and will delay the
adoption of the new PostgreSQL release.

I don't believe you will break if that patch is applied now.

I don't have a 7.0 handy to compile against, but I can pull one
if necessary.

I believe it was an error for PHP to #include <postgres.h> at all.

Comments from other -hackers?

I have a couple of other UnixWare issues that have sort of
languished...

I found one report which is related to UnixWare's broken
system libraries (#8441). I'll look into working around that
later. If there are others, please point me into their
direction.

That's the one I was refering to. I submitted it when 4.0.4 came out,
and it didn't even draw a comment till now.... Thanks!

(The other one was the libtool patch which Rasmus did commit).

LER

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#17Sascha Schumann
sascha@schumann.cx
In reply to: Larry Rosenman (#16)
Re: PHP 4.0.4pl1 / Beta 5

I don't believe you will break if that patch is applied now.

InvalidOid is not defined otherwise.

- Sascha

#18Larry Rosenman
ler@lerctr.org
In reply to: Sascha Schumann (#17)
Re: PHP 4.0.4pl1 / Beta 5

* Sascha Schumann <sascha@schumann.cx> [010219 07:42]:

I don't believe you will break if that patch is applied now.

InvalidOid is not defined otherwise.

aha. Ok. PG-Hackers: Can we include a Dummy or #warning postgres.h
in 7.1?

I.E.:
#ifndef _POSTGRES_H
#define _POSTGRES_H
#warning Client Code should not include postgres.h
#endif

- Sascha

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#19Sascha Schumann
sascha@schumann.cx
In reply to: Larry Rosenman (#18)
Re: PHP 4.0.4pl1 / Beta 5

On Mon, 19 Feb 2001, Larry Rosenman wrote:

* Sascha Schumann <sascha@schumann.cx> [010219 07:42]:

I don't believe you will break if that patch is applied now.

InvalidOid is not defined otherwise.

aha. Ok. PG-Hackers: Can we include a Dummy or #warning postgres.h
in 7.1?

#warning is not portable.

As I've mentioned earlier, we already have addressed this
issue. If you want to give it a test, please check out

http://snaps.php.net/

- Sascha

#20Bruce Momjian
bruce@momjian.us
In reply to: Larry Rosenman (#13)
Re: PHP 4.0.4pl1 / Beta 5

* Bruce Momjian <pgman@candle.pha.pa.us> [010218 22:25]:

Just shoot it over to the PHP folks. Seems they are already on top if
it. I don't want to work around their normal system unless necessary.

Their stuff seems to sit forever. I put it in the BugDB.

I have a couple of other UnixWare issues that have sort of
languished...

I am sorry to hear that. Thies is supposedly working on PostgreSQL
items. Can you contact him directly? He is "Thies C. Arntzen"
<thies@thieso.net>.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#21Tom Lane
tgl@sss.pgh.pa.us
In reply to: Sascha Schumann (#15)
#22Tom Lane
tgl@sss.pgh.pa.us
In reply to: Sascha Schumann (#17)
#23Sascha Schumann
sascha@schumann.cx
In reply to: Tom Lane (#21)
#24Larry Rosenman
ler@lerctr.org
In reply to: Sascha Schumann (#23)
#25Tom Lane
tgl@sss.pgh.pa.us
In reply to: Larry Rosenman (#24)
#26Larry Rosenman
ler@lerctr.org
In reply to: Tom Lane (#25)
#27Larry Rosenman
ler@lerctr.org
In reply to: Larry Rosenman (#26)
#28Tom Lane
tgl@sss.pgh.pa.us
In reply to: Larry Rosenman (#27)
#29Lamar Owen
lamar.owen@wgcr.org
In reply to: Tom Lane (#21)
#30Larry Rosenman
ler@lerctr.org
In reply to: Larry Rosenman (#27)
#31Tom Lane
tgl@sss.pgh.pa.us
In reply to: Larry Rosenman (#30)
#32Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#31)
#33Larry Rosenman
ler@lerctr.org
In reply to: Bruce Momjian (#32)
#34Peter Eisentraut
peter_e@gmx.net
In reply to: Larry Rosenman (#27)
#35Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#34)
#36Peter Eisentraut
peter_e@gmx.net
In reply to: Tom Lane (#35)
#37Larry Rosenman
ler@lerctr.org
In reply to: Peter Eisentraut (#36)
#38Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#36)