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 537FCD1B509 for ; Wed, 12 Nov 2003 03:53:52 +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 99228-03 for ; Tue, 11 Nov 2003 23:53:24 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 3711ED1B4F4 for ; Tue, 11 Nov 2003 23:53:18 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hAC3qt104858; Tue, 11 Nov 2003 22:52:55 -0500 (EST) From: Bruce Momjian Message-Id: <200311120352.hAC3qt104858@candle.pha.pa.us> Subject: Re: Support for prepared queries In-Reply-To: <3FAB0406.5020409@familyhealth.com.au> To: Christopher Kings-Lynne Date: Tue, 11 Nov 2003 22:52:55 -0500 (EST) Cc: "scott.marlowe" , 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/34 X-Sequence-Number: 2427 Should this be a TODO item? --------------------------------------------------------------------------- Christopher Kings-Lynne wrote: > > >>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. > > I vote for a new command: > > RESET SESSION; > > Basically, we make that connection reset everythign - SET variables, > open cursors, etc. I don't think we want to clobber prepared > queries...i dunno. > > And we can add stuff to it without needing pool managers to change how > they do things. > > Chris > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- 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