Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36737 invoked by uid 1010); 8 Nov 2004 15:42:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36663 invoked from network); 8 Nov 2004 15:42:11 -0000 Received: from unknown (HELO web11.manitu.net) (217.11.48.111) by pb1.pair.com with SMTP; 8 Nov 2004 15:42:11 -0000 Received: from [62.165.4.166] (dicaprio.akademie1.de [62.165.4.166]) (authenticated) by web11.manitu.net (8.10.2-SOL3/8.10.2) with ESMTP id iA8FfxX06075; Mon, 8 Nov 2004 16:41:59 +0100 To: Ilia Alshanetsky Cc: john@coggeshall.org, internals@lists.php.net, Yasuo Ohgaki In-Reply-To: <418F91BE.8080107@prohost.org> References: <1099917871.2648.12.camel@dicaprio.akademie1.de> <1099926291.24517.4.camel@unix-101-34.hq.communityconnect.com> <1099927445.2648.24.camel@dicaprio.akademie1.de> <418F91BE.8080107@prohost.org> Content-Type: text/plain; charset=UTF-8 Message-ID: <1099928518.2648.26.camel@dicaprio.akademie1.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 08 Nov 2004 16:41:58 +0100 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [PATCH] pg_result_sqlstate From: twanger@bluetwanger.de (Markus Bertheau) =D0=92 =D0=9F=D0=BD=D0=B4, 08.11.2004, =D0=B2 16:33, Ilia Alshanetsky =D0= =BF=D0=B8=D1=88=D0=B5=D1=82: > The error functions do so because they are likely to be called if=20 > creation of a connection fails so there may not always be a valid=20 > resource. The state checking function would presumably be only run on a=20 > valid connection and consequently should be strict about the resource=20 > parameter (IMO). Both function take result resources, not connection resources. Markus --=20 Markus Bertheau