Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13788 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84415 invoked by uid 1010); 8 Nov 2004 15:06:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 82394 invoked from network); 8 Nov 2004 15:05:31 -0000 Received: from unknown (HELO mail.communityconnect.com) (209.10.169.57) by pb1.pair.com with SMTP; 8 Nov 2004 15:05:31 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.communityconnect.com (Postfix) with ESMTP id CBC2F6F5B6; Mon, 8 Nov 2004 10:14:42 -0500 (EST) Received: from mail.communityconnect.com ([127.0.0.1]) by localhost (cc18-2.web.gbx.ccops.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24246-16; Mon, 8 Nov 2004 10:14:35 -0500 (EST) Received: from unix-101-34.hq.communityconnect.com (cc240-0.web.gbx.ccops.us [10.30.0.240]) by mail.communityconnect.com (Postfix) with ESMTP id 128126F5FA; Mon, 8 Nov 2004 10:14:35 -0500 (EST) Reply-To: john@coggeshall.org To: Markus Bertheau Cc: internals@lists.php.net, Yasuo Ohgaki In-Reply-To: <1099917871.2648.12.camel@dicaprio.akademie1.de> References: <1099917871.2648.12.camel@dicaprio.akademie1.de> Content-Type: text/plain Message-ID: <1099926291.24517.4.camel@unix-101-34.hq.communityconnect.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 08 Nov 2004 10:04:51 -0500 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.communityconnect.com Subject: Re: [PHP-DEV] [PATCH] pg_result_sqlstate From: john@coggeshall.org (John Coggeshall) if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "r" ...... why would you silence the error for the parameter when this function requires a valid Postgres resource to do anything? John On Mon, 2004-11-08 at 07:44, Markus Bertheau wrote: > Hi, > > attached is a patch which implements a function pg_result_sqlstate. This > function is needed because the error messages returned by > pg_result_error is localized and can therefor not be parsed reliably. > > The patch is against PHP5. Barring any objections please apply the patch > for PHP 5.0.3. > > Thanks