pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: scott.marlowe <scott.marlowe@ihs.com>
Cc: Stephen <jleelim@xxxxxx.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Support for prepared queries
Date: Tue, 11 Nov 2003 22:52:55 -0500 (EST)
Message-ID: <200311120352.hAC3qt104858@candle.pha.pa.us> (raw)
In-Reply-To: <3FAB0406.5020409@familyhealth.com.au>


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



view thread (15+ messages)

Message-ID: <200311120352.hAC3qt104858@candle.pha.pa.us>
Permalink:  ../200311120352.hAC3qt104858@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200311120352.hAC3qt104858@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: pgman@candle.pha.pa.us, chriskl@familyhealth.com.au, scott.marlowe@ihs.com, jleelim@xxxxxx.com
  Subject: Re: Support for prepared queries
  In-Reply-To: <200311120352.hAC3qt104858@candle.pha.pa.us>
  References: <3FAB0406.5020409@familyhealth.com.au> <200311120352.hAC3qt104858@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox