Re: PDO PgSQL: _pdo_pgsql_notice

From: Date: Tue, 06 Oct 2009 11:38:14 +0000
Subject: Re: PDO PgSQL: _pdo_pgsql_notice
Groups: php.internals 
Request: Send a blank email to internals+get-45672@lists.php.net to get a copy of this message
Hi, > I might find some time to look at it shortly. Not sure using "errmsg" is > appropriate though, as notices are usually returning additional information, not error messages. I think i'll have to make a "noticemsg" var, but I don't know how implement a new "noticeInfo" (or somethink like that) function to get this value. The better way is to create a new array "notices" (or a function which returns an array) into the PDOStatement, because the notice is generally linked to the statement. But, sometimes not.... > Please allow some time for me to check how they are currently dealt with > in the pgsql extension and to see how they can be implemented in the PDO driver. Actually, the PosgreSQL driver for PDO don't report notices.. The content of "_pdo_pgsql_notice" is commented ! Thanks a lot for the time you passed/you'll pass ! Samuel. ---------------------- ALICE N°1 de la RELATION CLIENT 2008*-------------------- Découvrez vite l'offre exclusive ALICE BOX! En cliquant ici http://abonnement.aliceadsl.fr Offre soumise à conditions.*Source : TNS SOFRES / BEARING POINT. Secteur Fournisseur d.Accès Internet

« previous php.internals (#45672) next »