Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45715 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11558 invoked from network); 9 Oct 2009 21:12:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Oct 2009 21:12:02 -0000 Authentication-Results: pb1.pair.com header.from=samuel.roze@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.227 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: samuel.roze@gmail.com X-Host-Fingerprint: 209.85.219.227 mail-ew0-f227.google.com Received: from [209.85.219.227] ([209.85.219.227:48493] helo=mail-ew0-f227.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/6A-19113-127AFCA4 for ; Fri, 09 Oct 2009 17:12:02 -0400 Received: by ewy27 with SMTP id 27so2560935ewy.23 for ; Fri, 09 Oct 2009 14:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=jk77Xan6PfkWwF3A3AUcFZI/lefq2JKxWj12iDwgf00=; b=UgsgVUJHYHGuW0utgYXqso/3YyUfhXc8vlhKHZVlUp+QHmVWFEyFIUXjK8C1ntZZVb rCmOoUqyVSvjsv86wY4g/YDV7btswn6geC48WqmgvoWZg6K3sMaJc/4yy+RCiBgqEXwC KGdt2ah62vkU7itIDManSbFoJlsVeHgxY2efY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=IBpOiQQnDZNZ7Qo5hD1Ifpyv1q3ubasYlNzSyVSa7Oii7AD6iNngEJeIZd/xaONzSB 6TIEmthQZDp9B+yDy8L0ULNGmRoQxjlIEtZK9R/C8A1hYfOMmJ5cZAn6WvHZIVjnUgq2 HKMrpT9ih5nP3oJVlMToF9nCWj+AU+K3UL0fY= Received: by 10.211.146.2 with SMTP id y2mr3737136ebn.77.1255122718280; Fri, 09 Oct 2009 14:11:58 -0700 (PDT) Received: from ?192.168.0.10? (lns-bzn-53-82-65-38-114.adsl.proxad.net [82.65.38.114]) by mx.google.com with ESMTPS id 7sm782164eyg.11.2009.10.09.14.11.56 (version=SSLv3 cipher=RC4-MD5); Fri, 09 Oct 2009 14:11:57 -0700 (PDT) To: Pierre Joye Cc: internals@lists.php.net In-Reply-To: References: <1255038690.10759.9.camel@samuel-laptop> <1255120269.3605.14.camel@samuel-laptop> Content-Type: text/plain; charset="UTF-8" Date: Fri, 09 Oct 2009 23:12:14 +0200 Message-ID: <1255122734.3605.21.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: Patch: Use notices in PDO From: samuel.roze@gmail.com (Samuel ROZE) Le vendredi 09 octobre 2009 à 23:05 +0200, Pierre Joye a écrit : > About applying it, we should wait a bit more until we get more > feedbacks (say until the middle of next week). Oh yeah of course ! It was just a question to know how it happened. ;-) > Then see how we can do it for the other drivers at the same time. I'm looking for Oracle. Is somebody know how we can do for MySQL (and how raise notices with it) ? > Cheers, > -- > Pierre > > On Fri, Oct 9, 2009 at 10:31 PM, Samuel ROZE wrote: > > Just a little question: > > - How I can propose my patch to be merged to PHP ? > > > > Rather suggest.. :-) > > > > Le jeudi 08 octobre 2009 à 23:51 +0200, Samuel ROZE a écrit : > >> Hi, > >> > >> I've make a patch which insert notices concepts to PDO. It create: > >> - PDO::noticeInfo() - to be like errorInfo > >> - PDO::ATTR_LOG_NOTICES, the name of the PDO parameter > >> - PDO::NOTICES_FETCH - fetch notices > >> - PDO::NOTICES_NONE - don't fetch notices > >> > >> The notices HashTable is emptied at each queries. > >> > >> There is a patch to implements this function into PDO: > >> http://www.d-sites.com/wp-content/uploads/2009/10/php-5_3-pdo-notices-managment.patch > >> > >> And one other to implements notices recuperation for PostgreSQL: > >> http://www.d-sites.com/wp-content/uploads/2009/10/php-5_3-pdo-pgsql-notices-managment.patch > >> > >> It can be done for Oracle, i'm sure. > >> > >> Thanks for feedbacks. > >> Samuel. > >> > > > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > >