Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> Tom Lane wrote:
>> Sure. FETCH n in Postgres has always corresponded to FETCH RELATIVE n.
> IIRC in SQL standard FETCH retrieves rows one by one.
Yes, Postgres' idea of FETCH is only weakly related to the spec's idea.
But I believe you get similar results if you consider only the row last
returned by our FETCH.
regards, tom lane