Re: PHP 4.0 Bug #5817 Updated: PHP Core Dumps when pg_errormessage() is called.
| From: | Jouni Ahto | Date: | Mon, 31 Jul 2000 09:25:14 +0000 |
| Subject: | Re: PHP 4.0 Bug #5817 Updated: PHP Core Dumps when pg_errormessage() is called. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27009@lists.php.net to get a copy of this message | ||
On 31 Jul 2000, Bug Database wrote:
> ID: 5817
> User Update by: ac001@figment.net
> Status: Closed
> Bug Type: PostgreSQL related
> Description: PHP Core Dumps when pg_errormessage() is called.
>
> Dear Jah,
>
> A package called phpPgAdmin uses this function. How else would you
> recommend the accessing of PostgreSQL data if we did not use "something
> as stupid as calling a function that needs an open connection to PostgreSQL
> server"?
>
> Sincerely,
>
> Albert.
Oh, seems that I just forgot to finish that sentence before closing... I
meant, of course, '...needs an open connection to PostgreSQL server
without opening one first, ...'
-- Jouni
> You wrote:
> > ID: 5817
> > Updated by: jah
> > Reported By: ac001@figment.net
> > Status: Closed
> > Bug Type: PostgreSQL related
> > Assigned To:
> > Comments:
> >
> > Fixed in CVS. (I'm really wondering why you are doing something as
> > stupid as calling a function that needs an open connection to
> > PostgreSQL server, but at least it helps to catch those places
> > where a variable could be used uninitialized...)