Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15470 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33334 invoked by uid 1010); 17 Mar 2005 02:36:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33319 invoked from network); 17 Mar 2005 02:36:25 -0000 Received: from unknown (HELO familyhealth.com.au) (127.0.0.1) by localhost with SMTP; 17 Mar 2005 02:36:25 -0000 X-Host-Fingerprint: 203.22.197.21 houston.au.fhnetwork.com FreeBSD 4.6-4.9 Received: from ([203.22.197.21:4270] helo=houston.familyhealth.com.au) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 3F/30-00664-82DE8324 for ; Wed, 16 Mar 2005 21:36:25 -0500 Received: from houston.familyhealth.com.au (localhost [127.0.0.1]) by houston.familyhealth.com.au (Postfix) with ESMTP id A8BC524FE1; Thu, 17 Mar 2005 10:36:21 +0800 (WST) Received: from [192.168.0.40] (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (Postfix) with ESMTP id A326024FE0; Thu, 17 Mar 2005 10:36:21 +0800 (WST) Message-ID: <4238ED30.4020002@familyhealth.com.au> Date: Thu, 17 Mar 2005 10:36:32 +0800 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Edin Kadribasic Cc: internals@lists.php.net, helly@php.net References: <4237C24C.7000607@familyhealth.com.au> <200503161148.18284.edink@emini.dk> In-Reply-To: <200503161148.18284.edink@emini.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Major upgrade to ext/pgsql From: chriskl@familyhealth.com.au (Christopher Kings-Lynne) > Why do we need pg_query_params. Isn't prepare/execute enough? > pg_execute($conn, $stmt, $params) seem to be already taking care of the > parameters passed. (btw. I wouldn't make $conn optional, it makes adding > additional parameters later on pain). Oh, if I didn't explain clearly the $stmt parameter to pg_execute is the NAME of a previous created prepared query, not the query itself. Chris