X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C4BC8D1B4E1 for ; Wed, 22 Oct 2003 01:14:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 85788-05 for ; Tue, 21 Oct 2003 22:13:51 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 40AB8D1B4E6 for ; Tue, 21 Oct 2003 22:13:48 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id h9M1DlNu019404 for ; Wed, 22 Oct 2003 01:13:47 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h9M0woXb016583 for pgsql-php@postgresql.org; Wed, 22 Oct 2003 00:58:50 GMT From: ljb X-Newsgroups: comp.databases.postgresql.interfaces.php Subject: Re: Support for prepared queries Date: Wed, 22 Oct 2003 00:58:50 +0000 (UTC) Organization: Hub.Org Networking Services Lines: 11 Message-ID: References: X-Complaints-To: usenet@news.hub.org User-Agent: slrn/0.9.7.3 (Linux) To: pgsql-php@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=EMAIL_ATTRIBUTION, FROM_ENDS_IN_NUMS, REFERENCES, USER_AGENT X-Spam-Level: X-Archive-Number: 200310/17 X-Sequence-Number: 2378 jleelim@xxxxxx.com wrote: > Hi, > > Does anyone know if PHP supports prepared queries for PostgreSQL 7.3.x ? If > not, when will prepared queries be supported? Yes, in the sense that you can send PREPARE and EXECUTE statements to the server using PHP's pg_query(). They work like any other SQL statements; PHP doesn't do anything special for them. If you're asking about the low-level prepared query protocol used by libpq's PQexecPrepared(), that doesn't exist until PostgreSQL-7.4, so the answer is no.