Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 35E379F9EC7; Thu, 1 Nov 2007 18:44:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 21219-03-5; Thu, 1 Nov 2007 18:43:15 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 3B6B09FC19E; Thu, 1 Nov 2007 18:22:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lA1LMCEJ015561; Thu, 1 Nov 2007 17:22:12 -0400 (EDT) To: "Dawid Kuroczko" cc: "Postgres General" , pgsql-sql Subject: Re: Scrolling cursors in PL/PgSQL In-reply-to: <758d5e7f0711011319t5e752dsad6481d1427a46ff@mail.gmail.com> References: <758d5e7f0711011319t5e752dsad6481d1427a46ff@mail.gmail.com> Comments: In-reply-to "Dawid Kuroczko" message dated "Thu, 01 Nov 2007 21:19:44 +0100" Date: Thu, 01 Nov 2007 17:22:12 -0400 Message-ID: <15560.1193952132@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/43 X-Sequence-Number: 123039 "Dawid Kuroczko" writes: > Is there a way to scroll a cursor from within PL/PgSQL? FWIW, in 8.3 plpgsql has full FETCH/MOVE support --- that might or might not help you, depending on what your timescale for deploying this application is ... regards, tom lane