From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Michael Fork <mfork(at)toledolink(dot)com> |
Cc: | PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: PHP 4.0.4pl1 / Beta 5 |
Date: | 2001-02-19 04:24:51 |
Message-ID: | 200102190424.XAA26223@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-02-19 04:25:49 | Re: PHP 4.0.4pl1 / Beta 5 |
Previous Message | Michael Fork | 2001-02-19 04:23:48 | Re: PHP 4.0.4pl1 / Beta 5 |