"Wm.A.Stafford" <stafford@marine.rutgers.edu> writes:
> ... is there a standard PostgreSQL way to select a
> 'block' of rows from a result set based on row number?
LIMIT/OFFSET might be what you are looking for --- it's certainly far
less klugy than a temporary sequence.
regards, tom lane