Re: Postgresql problems

From: Date: Fri, 25 Aug 2000 08:42:52 +0000
Subject: Re: Postgresql problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-13628@lists.php.net to get a copy of this message
On pi±, 25 sie 2000, you wrote: > On Fri, 25 Aug 2000, Przem Kowalczyk wrote: > > > Hi {cut} > > My first guess is that you are doing something you shouldn't originally > have done, and you are now getting caught with it. PostgreSQL module > switched to use the new PHP API and resources between 4.0.0 and 4.0.1. If > you can show lines 1-31 of the file that gives you problems, it would be > possible to tell what the problem is. There is nearly nothing to show, 'cos that file is a simple wrapper: function base_exec($connection,$query) { $result = pg_exec($connection,$query); <----------- line 31 if (base_errormessage($connection)) { echo "wrong query: $query<br>"; echo "err: ". base_errormessage($connection) . "<br>"; $result = ''; } return $result; } Przem

« previous php.general (#13628) next »