pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stoyan Genov <genov@digsys.bg>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Move forward all (Was Re: How to get last 10 rows in a table on a large database?)
Date: Sun, 07 Nov 1999 12:25:08 +0200
Message-ID: <199911071025.MAA25941@lorna.digsys.bg> (raw)
In-Reply-To: <2549.941912218@sss.pgh.pa.us>

> > You are unable to say:
> > 	begin transaction;
> > 		declare tbl_cur cursor for .... .....
> > 		move forward all in tbl_cur;
> > 		fetch backward 10 in tbl_cur;
> > 		...........
> > 	end transaction;
> > because when you "move forward all" the result gets lost.
> 
> Huh?  It seems to work fine for me.

Well, it does not seem to work for me neither on the 6.4.2 nor on the 
6.5.(1|2)
version. I'll try 6.5.3 as well... 
Any ideas why this is so?

Regards,
	Stoyan Genov




view thread (6+ messages)  latest in thread

Message-ID: <199911071025.MAA25941@lorna.digsys.bg>
Permalink:  ../199911071025.MAA25941@lorna.digsys.bg/
Also on:    postgresql.org/message-id/199911071025.MAA25941@lorna.digsys.bg

 · 

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-sql@postgresql.org
  Cc: genov@digsys.bg, tgl@sss.pgh.pa.us
  Subject: Re: Move forward all (Was Re: How to get last 10 rows in a table on a large database?)
  In-Reply-To: <199911071025.MAA25941@lorna.digsys.bg>
  References: <2549.941912218@sss.pgh.pa.us> <199911071025.MAA25941@lorna.digsys.bg>

* 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