Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16033 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1008 invoked by uid 1010); 19 Apr 2005 14:25:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 864 invoked from network); 19 Apr 2005 14:25:01 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 19 Apr 2005 14:25:01 -0000 X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.4/2.6 Received: from ([212.112.227.169:49409] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id 15/F7-45122-1B415624 for ; Tue, 19 Apr 2005 10:24:49 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id D20CBDF018E; Tue, 19 Apr 2005 16:25:14 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (ipx11223 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23185-04; Tue, 19 Apr 2005 16:25:11 +0200 (CEST) Received: from [192.168.0.77] (port-212-202-40-148.dynamic.qsc.de [212.202.40.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id 1A4DDDF00C3; Tue, 19 Apr 2005 16:25:11 +0200 (CEST) Message-ID: <426514A8.90101@php.net> Date: Tue, 19 Apr 2005 16:24:40 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Grant Croker Cc: internals@lists.php.net References: <08237065FA027340B731E57099097854039A9C58@ukslms22.ca.com> In-Reply-To: <08237065FA027340B731E57099097854039A9C58@ukslms22.ca.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PATCH] Ingres error reporting functions From: lsmith@php.net (Lukas Smith) Grant Croker wrote: > I would like to submit the following patch to PHP: > http://www.ingres.co.uk/php/head/ingres_error_reporting.diff > > It includes 3 new functions for reporting errors; ingres_error(), > ingres_error_text() and ingres_error_sqlstate(). Also included is the > ability to suppress E_WARNING messages that happen when a database error > is detected. This requires the following to be added to php.ini under > the section titled "[Ingres II]": I know its too late to fix this in the current database extensions (who all follow either the native, the mysql ext or some random naming the given developer came up with), but you might want to atleast try and follow an existing database extension with the function naming. I guess ext/mysql or mysqli might be a good rolemodel just because its used alot. regards, Lukas