Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45703 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40887 invoked from network); 9 Oct 2009 05:58:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Oct 2009 05:58:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=samuel.roze@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.78.26 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: 74.125.78.26 ey-out-2122.google.com Received: from [74.125.78.26] ([74.125.78.26:9565] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/71-34228-101DECA4 for ; Fri, 09 Oct 2009 01:58:26 -0400 Received: by ey-out-2122.google.com with SMTP id 22so1444291eye.39 for ; Thu, 08 Oct 2009 22:58:22 -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=HkLuGtDYHP3E1kd5/XCDvllgnesSzl08hoAndZ3O4Go=; b=UzXr41KfOW6voHUALGzDGz+Y98kTIA+0hC9dr8euXlUDL2QOUTmv1DxW/rxnCtKzas jvLHg784thA0vO4dIkkJmMUkYzS9uFo3v3GLncJ+Oe7oreOadUyW+pWBJEMocasy+Ukq 0XRyFmckz3hmPWhSuCmdHLOs67qGBKrQmwOFk= 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=nZCZP/0V/yBwxIlXUO0/wDCM4ht7KDtraDdFgnOjSSzhL0NkUIZCkMWNum7eOO/c++ siNUvadngTIICB8Li1GX6eVrEH/56ODbi2zLgk5IzKIrtMBAhYH/G925yZgizAa7bmLW /nwwxFEHWTsp8vkJPozNOFskb9AA2lHWHNGGk= Received: by 10.210.7.16 with SMTP id 16mr2680081ebg.14.1255067902738; Thu, 08 Oct 2009 22:58:22 -0700 (PDT) Received: from ?192.168.0.10? (lns-bzn-57-82-249-12-33.adsl.proxad.net [82.249.12.33]) by mx.google.com with ESMTPS id 7sm1649936eyb.29.2009.10.08.22.58.20 (version=SSLv3 cipher=RC4-MD5); Thu, 08 Oct 2009 22:58:21 -0700 (PDT) To: Christopher Jones Cc: internals@lists.php.net In-Reply-To: <4ACE6613.808@oracle.com> References: <1255038690.10759.9.camel@samuel-laptop> <4ACE6613.808@oracle.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 09 Oct 2009 07:58:37 +0200 Message-ID: <1255067917.4144.4.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Patch: Use notices in PDO From: samuel.roze@gmail.com (Samuel ROZE) It's a good idea. - PDO::NOTICES_FETCH -> PDO::NOTICES_ENABLED - PDO::NOTICES_NONE -> PDO::NOTICES_DISABLED That's better ? I see that you are from the Oracle team. Can you explain me how oracle works to raise notices like PostgreSQL ? Or can you build a proof of concept to get notices from Oracle ? Thanks. Samuel. Le jeudi 08 octobre 2009 à 15:22 -0700, Christopher Jones a écrit : > > Samuel ROZE wrote: > > 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 > > I initially took "FETCH" to mean it was related to a query; this > wouldn't always be the case. What about calling it NOTICES_ENABLE? > > Chris >