Re: PHP 4.0.4pl1 / Beta 5 - Mailing list pgsql-hackers

From Michael Fork
Subject Re: PHP 4.0.4pl1 / Beta 5
Date
Msg-id Pine.BSI.4.21.0102182321460.27983-100000@glass.toledolink.com
Whole thread Raw
In response to Re: PHP 4.0.4pl1 / Beta 5  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: PHP 4.0.4pl1 / Beta 5  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
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
functionin 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
> 




pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: GET DIAGNOSTICS (was Re: Open 7.1 items)
Next
From: Bruce Momjian
Date:
Subject: Re: PHP 4.0.4pl1 / Beta 5