From: Markus Bertheau <twanger@bluetwanger.de>
To: scott.marlowe <scott.marlowe@ihs.com>
Cc: Andreas Schmitz <a.schmitz@cityweb.de>
Cc: pgsql-php@postgresql.org
Subject: Re: Using Cursors in PHP
Date: 08 Aug 2003 10:01:40 +0200
Message-ID: <1060329700.4453.0.camel@severn> (raw)
In-Reply-To: <Pine.LNX.4.33.0308060950030.15751-100000@css120.ihs.com>
References: <Pine.LNX.4.33.0308060950030.15751-100000@css120.ihs.com>
В Срд, 06.08.2003, в 17:51, scott.marlowe пишет:
> On Wed, 6 Aug 2003, Andreas Schmitz wrote:
>
> >
> > Hello *,
> >
> > I am just wondering if it is possible to use cursors within PHP. I need to
> > page query result from a big table and I am looking for a solution to avoid
> > scanning the complete table using limit and offset.
>
> Yes, you can use cursors, no you can't expect them to survive from one
> page to the next.
What about the new feature in cursors "WITH HOLD"? Don't they survive?
--
Markus Bertheau <twanger@bluetwanger.de>
Attachments:
signature.asc (application/pgp-signature, 188B) download
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: twanger@bluetwanger.de, scott.marlowe@ihs.com, a.schmitz@cityweb.de
Subject: Re: Using Cursors in PHP
In-Reply-To: <1060329700.4453.0.camel@severn>
References: <Pine.LNX.4.33.0308060950030.15751-100000@css120.ihs.com> <1060329700.4453.0.camel@severn>
* 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