> > > I am working on support scrollable cursors in plpgpsm. Scrollable
cursors
> > > are in ToDo for plpgsql too. I need new function
> > > SPI_cursor_fetch_with_direction(Portal portal, int direction, long
count)
> >
> > Is "int" a reasonable domain for directions? I'd think there would
be
> > at most values.
>
> enum is better, true
I don't think we want an enum here (maybe short).
> tree fields: FORWARD, BACKWARD, ABSOLUTE
I think for fetch absolute you are missing an offset argument.
Andreas