Re: cursors: SCROLL default, error messages

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: cursors: SCROLL default, error messages
Дата
Msg-id 1048267782.27977.21.camel@tokyo
обсуждение исходный текст
Ответ на Re: cursors: SCROLL default, error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: cursors: SCROLL default, error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, 2003-03-21 at 12:12, Tom Lane wrote:
> Hm?  As of CVS tip, SCROLL most definitely does something.

Sorry -- I noticed that it doesn't actually effect whether you can do
backward fetches on the cursor, which is what I should have said.

> (No problem here with adding the noise-word option, of course.)

Note that it won't be a noise word: if NO SCROLL is specified, an
attempt to do a backward fetch on a non-scrollable cursor will yield an
error.

> > Should we change this behavior to be spec compliant, or default to
> > SCROLL if neither is specified?
> 
> We already had that discussion.

Fair enough (I must have been sleeping :-) ). That behavior seems
reasonable to me.

Cheers,

Neil



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql-server/ oc/src/sgml/manage-ag.sgml
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cursors: SCROLL default, error messages