Re: cvs: pear /DB/DB pgsql.php
| From: | Daniel Convissor | Date: | Thu, 16 Jun 2005 13:58:29 +0000 |
| Subject: | Re: cvs: pear /DB/DB pgsql.php | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38143@lists.php.net to get a copy of this message | ||
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.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409