X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id A7A61D1C516 for ; Fri, 8 Aug 2003 13:42:19 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 24705-07 for ; Fri, 8 Aug 2003 10:40:56 -0300 (ADT) Received: from mailav.tor1.inquent.com (mail.inquent.com [216.208.117.106]) by svr1.postgresql.org (Postfix) with ESMTP id DCFF7D1C4DB for ; Fri, 8 Aug 2003 10:42:08 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 3A5F910258; Fri, 8 Aug 2003 09:34:45 -0400 (EDT) Received: from [10.0.2.39] (unknown [10.0.2.39]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 46B0510248; Fri, 8 Aug 2003 09:34:43 -0400 (EDT) Subject: Re: Using Cursors in PHP From: Rod Taylor To: "scott.marlowe" Cc: Markus Bertheau , Andreas Schmitz , pgsql-php@postgresql.org In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1n/BlE+rBPLScSqG8UUo" Message-Id: <1060350130.97914.4.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Fri, 08 Aug 2003 09:42:11 -0400 X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/27 X-Sequence-Number: 2204 --=-1n/BlE+rBPLScSqG8UUo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > I don't think so. Basically, PHP is supposed to reset the connection if= =20 > it's persistant, and if it isn't persistant, then it's always a new=20 > connection, which means a cursor shouldn't survive.=20 >=20 > But I'm NOT familiar with "WITH HOLD" right now, so someone else who know= s=20 > 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 --=-1n/BlE+rBPLScSqG8UUo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/M6iy6DETLow6vwwRAoUQAJ9r6VM53cADjvZcFwf2+444Z+P49QCfT+KZ BrAt3f6x4xl9b5oO95M/B74= =bIP9 -----END PGP SIGNATURE----- --=-1n/BlE+rBPLScSqG8UUo--