Re: move 0 behaviour

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: move 0 behaviour
Дата
Msg-id Pine.LNX.4.44.0210301928450.2006-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: move 0 behaviour  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: move 0 behaviour
Список pgsql-hackers
Bruce Momjian writes:

> So, that is why MOVE 0 goes to the end of the cursor.  One idea would be
> for MOVE 0 to actually move nothing, but jdbc and others need the
> ability to move the end of the cursor, perhaps to then back up a certain
> amount and read from there.  Seems MOVE 0 is the logical way to do that.
> (I can't think of another reasonable value).

It would seem more logical and reasonable for MOVE 0 to do nothing and
have some special syntax such as MOVE LAST to move to the end.  (MOVE LAST
would actually be consistent with the standard syntax FETCH LAST.)

-- 
Peter Eisentraut   peter_e@gmx.net



В списке pgsql-hackers по дате отправления: