Re: DB pgsql changes

From: Date: Sat, 24 Mar 2001 16:12:07 +0000
Subject: Re: DB pgsql changes
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-81@lists.php.net to get a copy of this message
["Tomas V.V.Cox" <cox@idecnet.com>] > Hi again, > > This night I made some changes to the Pear DB pgsql extension. The > summary: > > - connect(). Always use the new syntax for pg_connect. is the "unix" > really needed? Some people connect to their postgresql server with unix domain sockets rather than tcp, they need it. > - fetchrow() & fetchInto(). Added a new param for fetching an especific > row instead of the next row This is already implemented in DB_ifx, so it makes sense. The other backends should really have returned "not capable" if passed a third parameter, for now. > - pgsqlRaiseError(). Always fills the native error param in raiseError() > (useful for debug) Ah, nice. > - removed prepare() and execute(), they are in common.php is this > correct? Yeah, I obviously forgot to remove it from here when adding prepare/execute to DB_common. No tests broke either, so feel free to commit. :-) - Stig -- Stig Sæther Bakken <ssb@fast.no> Fast Search & Transfer ASA, Trondheim, Norway

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