Re: cursors: SCROLL default, error messages - Mailing list pgsql-hackers

From Neil Conway
Subject Re: cursors: SCROLL default, error messages
Date
Msg-id 1048267782.27977.21.camel@tokyo
Whole thread Raw
In response to Re: cursors: SCROLL default, error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: cursors: SCROLL default, error messages
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql-server/ oc/src/sgml/manage-ag.sgml
Next
From: Tom Lane
Date:
Subject: Re: cursors: SCROLL default, error messages