Ruben Fagundo wrote:
> 
> We are developing a Postgres web application that would return "X" results at a 
>time? Is this something that can be handled in Postgres, where we can ask for 
>results, 10 at a time, or something like this? I've seen it done on other web sites, 
>but I don't know if it's something they do at the database level, or in the 
>application.

Quoted from "man select"  Note the LIMIT clause.  Yes you could do this
in the application but then you'd have to use cookies.

+++++++++++++ begin quote +++++++++++++++

SELECT(l)                                               SELECT(l)

NAME
       SELECT - Retrieve rows from a table or view.

SYNOPSIS
       SELECT [ ALL | DISTINCT [ ON column ] ]
           expression [ AS name ] [, ...]
           [ INTO [ TEMPORARY | TEMP ] [ TABLE ] new_table ]
           [ FROM table [ alias ] [, ...] ]
           [ WHERE condition ]
           [ GROUP BY column [, ...] ]
           [ HAVING condition [, ...] ]
           [ { UNION [ ALL ] | INTERSECT | EXCEPT } select ]
           [ ORDER BY column [ ASC | DESC ] [, ...] ]
           [ FOR UPDATE [ OF class_name... ] ]
           [ LIMIT { count | ALL } [ { OFFSET | , } count ] ]



-- 
  Chris Albertson

  [EMAIL PROTECTED]                  Voice: 626-351-0089  X127
  Logicon, Pasadena California            Fax:   626-351-0699

Reply via email to