Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88381 invoked by uid 1010); 25 Mar 2006 08:54:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88366 invoked from network); 25 Mar 2006 08:54:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2006 08:54:25 -0000 X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from ([212.112.227.169:56995] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 41/14-11806-14505244 for ; Sat, 25 Mar 2006 03:54:25 -0500 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id D1986DF0076; Sat, 25 Mar 2006 09:54:15 +0100 (CET) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (ipx11223 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31959-03; Sat, 25 Mar 2006 09:54:05 +0100 (CET) Received: from [127.0.0.1] (i577B6203.versanet.de [87.123.98.3]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 24C78DF0064; Sat, 25 Mar 2006 09:54:05 +0100 (CET) Message-ID: <44250532.7070509@php.net> Date: Sat, 25 Mar 2006 09:54:10 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Yasuo Ohgaki Cc: internals@lists.php.net References: <4425040E.60402@ohgaki.net> In-Reply-To: <4425040E.60402@ohgaki.net> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: pg_execute error From: lsmith@php.net (Lukas Smith) Yasuo Ohgaki wrote: > 3) add bool parameter to pg_execute() > e.g. pg_execute(resource connection, string stmtname, array params, bool ignore_error) how would you intent to implement this? AFAIK there is currently no catalog to find out the prepared statements in the current sessions (I hear 8.2 will change this). So the only way to find out is to simply "try it" and cause an error in the session which could trigger all sorts of error handlers on the database side .. something I would not expect from calling a php function like this. regards, Lukas