Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45671 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87778 invoked from network); 6 Oct 2009 07:28:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2009 07:28:38 -0000 Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 213.92.90.60 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 213.92.90.60 ispeed-srv6.housing.tomato.it Received: from [213.92.90.60] ([213.92.90.60:62243] helo=mail.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/D0-17927-3A1FACA4 for ; Tue, 06 Oct 2009 03:28:37 -0400 Received: (qmail 86277 invoked from network); 6 Oct 2009 09:28:33 +0200 Received: from unknown (HELO ?192.168.1.201?) (matteo@beccati.com@88.149.176.119) by mail.beccati.com with SMTP; 6 Oct 2009 07:28:33 -0000 Message-ID: <4ACAF18B.5080803@beccati.com> Date: Tue, 06 Oct 2009 09:28:11 +0200 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Samuel ROZE CC: internals@lists.php.net References: <1254806557.19561.3.camel@samuel-laptop> <1254807735.19561.5.camel@samuel-laptop> In-Reply-To: <1254807735.19561.5.camel@samuel-laptop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PDO PgSQL: _pdo_pgsql_notice From: php@beccati.com (Matteo Beccati) Samuel ROZE ha scritto: > To use PostgreSQL's Notices with PDO, i'm modifying the source for > trying to store into "errmsg" (which I can get with PDO::errorInfo) the > notice. 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. 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. Cheers -- Matteo Beccati