Re: FETCH FORWARD 0 and "cursor can only scan forward" error

Поиск
Список
Период
Сортировка
От Trigve Siver
Тема Re: FETCH FORWARD 0 and "cursor can only scan forward" error
Дата
Msg-id 1378314614.11579.YahooMailNeo@web125706.mail.ne1.yahoo.com
обсуждение исходный текст
Ответ на Re: FETCH FORWARD 0 and "cursor can only scan forward" error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

> From: Tom Lane <tgl@sss.pgh.pa.us>

> To: Trigve Siver <trigves@yahoo.com>
> Cc: "pgsql-general@postgresql.org" <pgsql-general@postgresql.org>
> Sent: Wednesday, September 4, 2013 7:04 PM
> Subject: Re: [GENERAL] FETCH FORWARD 0 and "cursor can only scan forward" error
>
>T rigve Siver <trigves@yahoo.com> writes:
>>  yes I know that when specifying "FORWARD 0" that no move is done
> and
>>  actual record is returned. But my question is why it is forbidden by
> "NO
>>  SCROLL"?
>
> Because it's implemented as "back up 1 row and re-fetch".

Thanks,
So I'll try to emulate it somehow then.
 
>             regards, tom lane
>

Trigve


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

Предыдущее
От: Evan Martin
Дата:
Сообщение: Re: Spurious error messages from pg_restore
Следующее
От: Raphael Araújo e Silva
Дата:
Сообщение: pg_catalog question: Sequence attributes.