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 DAE33D1BB13 for ; Thu, 6 Nov 2003 22:54:36 +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 71544-07 for ; Thu, 6 Nov 2003 18:54:08 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 1469CD1B949 for ; Thu, 6 Nov 2003 18:54:05 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hA6Mrsm03968; Thu, 6 Nov 2003 17:53:54 -0500 (EST) From: Bruce Momjian Message-Id: <200311062253.hA6Mrsm03968@candle.pha.pa.us> Subject: Re: Support for prepared queries In-Reply-To: To: "scott.marlowe" Date: Thu, 6 Nov 2003 17:53:54 -0500 (EST) Cc: Stephen , pgsql-php@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/18 X-Sequence-Number: 2411 scott.marlowe wrote: > No, in fact in PHP5 php now purposely resets the connection between pages. > > You'd have to write some kind of pooling solution to get that kind of > behaviour. I don't know of anyone working on pooling in PHP. Thought PHP5 does RESET ALL, that doesn't affect prepared queries, only SET variables. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073