pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: scott.marlowe <scott.marlowe@ihs.com>
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, 08 Aug 2003 09:42:11 -0400
Message-ID: <1060350130.97914.4.camel@jester> (raw)
In-Reply-To: <Pine.LNX.4.33.0308080721170.20444-100000@css120.ihs.com>
References: <Pine.LNX.4.33.0308080721170.20444-100000@css120.ihs.com>

> 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

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (7+ messages)  latest in thread

Message-ID: <1060350130.97914.4.camel@jester>
Permalink:  ../1060350130.97914.4.camel@jester/
Also on:    postgresql.org/message-id/1060350130.97914.4.camel@jester

 · 

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

* 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