Re: MOVE LAST: why? - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: MOVE LAST: why?
Date
Msg-id 3E1CC285.3EC651FC@tpf.co.jp
Whole thread Raw
In response to Re: MOVE LAST: why?  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
List pgsql-hackers
Zeugswetter Andreas SB SD wrote:
> 
> > FETCH LAST should return the last one row.
> > FETCH RELATIVE m should return a row after skipping
> > m rows if we follow the SQL standard and so the current
> > implementation of FETCH RELATIVE is broken.
> 
> Yes, the syntax could probably be
> FETCH [n] RELATIVE m
> to keep the functionality to fetch n rows at once and not only one
> after skipping m rows.

What I've thought is FETCH RELATIVE m [n].
Either is OK to me.

regards,
Hiroshi Inouehttp://w2422.nsk.ne.jp/~inoue/


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: MOVE LAST: why?
Next
From: Tatsuo Ishii
Date:
Subject: Re: UTF-8 encoding question regarding PhpPgAdmin