Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45673 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21459 invoked from network); 6 Oct 2009 16:29:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2009 16:29:22 -0000 Authentication-Results: pb1.pair.com header.from=samuel.roze@aliceadsl.fr; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@aliceadsl.fr; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain aliceadsl.fr from 212.27.42.1 cause and error) X-PHP-List-Original-Sender: samuel.roze@aliceadsl.fr X-Host-Fingerprint: 212.27.42.1 smtp1-g21.free.fr Linux 2.6 Received: from [212.27.42.1] ([212.27.42.1:60347] helo=smtp1-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/2D-17927-D507BCA4 for ; Tue, 06 Oct 2009 12:29:20 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 4AF449400D3 for ; Tue, 6 Oct 2009 18:29:12 +0200 (CEST) Received: from [192.168.0.10] (lns-bzn-38-82-253-115-156.adsl.proxad.net [82.253.115.156]) by smtp1-g21.free.fr (Postfix) with ESMTP id EEA21940241 for ; Tue, 6 Oct 2009 18:29:09 +0200 (CEST) To: internals@lists.php.net In-Reply-To: <4ACAF18B.5080803@beccati.com> References: <1254806557.19561.3.camel@samuel-laptop> <1254807735.19561.5.camel@samuel-laptop> <4ACAF18B.5080803@beccati.com> Content-Type: text/plain Date: Tue, 06 Oct 2009 18:29:24 +0200 Message-ID: <1254846564.876.1.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PDO PgSQL: _pdo_pgsql_notice From: samuel.roze@aliceadsl.fr (Samuel ROZE) 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.