Re: cvs: pear /DB/DB pgsql.php

From: Date: Tue, 21 Jun 2005 12:21:32 +0000
Subject: Re: cvs: pear /DB/DB pgsql.php
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38203@lists.php.net to get a copy of this message
Daniel Convissor wrote:
Hey Lukas: On Thu, Jun 16, 2005 at 11:40:47AM +0200, Lukas Smith wrote:
Daniel Convissor wrote:
danielc Fri Jun 10 10:31:46 2005 EDT
Modified files:                /pear/DB/DB	pgsql.php Log:
* Allow FETCH queries to return results. Bug 4112. * Adjust comments to clarify the affected rows/result/nothing situation.
just wondering what kinds of cases you are covering here. What does the pgsql ext return there as a result? would it not be safer to check for the type of $result?
That's an interesting idea, but the result is always just a "pgsql result" resource.
could the following function help? http://www.php.net/manual/en/function.pg-result-status.php regards, Lukas

« previous php.pear.dev (#38203) next »