"Wm.A.Stafford" <stafford(at)marine(dot)rutgers(dot)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