pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: Rod Taylor <rbt@rbt.ca>
Cc: Markus Bertheau <twanger@bluetwanger.de>
Cc: Andreas Schmitz <a.schmitz@cityweb.de>
Cc: pgsql-php@postgresql.org
Subject: Re: Using Cursors in PHP
Date: Fri, 8 Aug 2003 07:33:25 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0308080733090.20552-100000@css120.ihs.com> (raw)
In-Reply-To: <1060350130.97914.4.camel@jester>

On Fri, 8 Aug 2003, Rod Taylor wrote:

> > I don't think so.  Basically, PHP is supposed to reset the connection if 
> > it's persistant, and if it isn't persistant, then it's always a new 
> > connection, which means a cursor shouldn't survive. 
> > 
> > But I'm NOT familiar with "WITH HOLD" right now, so someone else who knows 
> > that better may have a more definitive answer.
> 
> Yup.. This is where you setup a little Java to deal with persistent
> database elements like this and hook into it via PHP.  It's a little
> nasty at the moment (though functional) but is supposedly greatly
> improved in PHP 5.
> 
> http://ca2.php.net/manual/en/ref.java.php

Java providing connection pooling for PHP.  Sweet!




view thread (7+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0308080733090.20552-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0308080733090.20552-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0308080733090.20552-100000@css120.ihs.com

 · 

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: scott.marlowe@ihs.com, rbt@rbt.ca, twanger@bluetwanger.de, a.schmitz@cityweb.de
  Subject: Re: Using Cursors in PHP
  In-Reply-To: <Pine.LNX.4.33.0308080733090.20552-100000@css120.ihs.com>
  References: <1060350130.97914.4.camel@jester> <Pine.LNX.4.33.0308080733090.20552-100000@css120.ihs.com>

* 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