pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliveiros Cristina <oliveiros.cristina@marktest.pt>
To: pgsql-sql@postgresql.org
Cc: pgsql-novice@postgresql.org
Subject: Obtaining a limited number of records from a long query
Date: Mon, 25 May 2009 14:32:14 +0100
Message-ID: <020201c9dd3d$372c3f40$ec5a3d0a@marktestcr.marktest.pt> (raw)

Dear List,

Is there any way to force a query to return just a few records?

For ex, returning just the first ten rows from a long ORDER BY query ?

And then, eventually, obtaining the remaining records at a later time, or in background?

Thanks in advance for your help,

Best,
Oliveiros

view thread (8+ messages)  latest in thread

Message-ID: <020201c9dd3d$372c3f40$ec5a3d0a@marktestcr.marktest.pt>
Permalink:  ../020201c9dd3d$372c3f40$ec5a3d0a@marktestcr.marktest.pt/
Also on:    postgresql.org/message-id/020201c9dd3d$372c3f40$ec5a3d0a@marktestcr.marktest.pt

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: oliveiros.cristina@marktest.pt, pgsql-novice@postgresql.org
  Subject: Re: Obtaining a limited number of records from a long query
  In-Reply-To: <020201c9dd3d$372c3f40$ec5a3d0a@marktestcr.marktest.pt>

* 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