> > > 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

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

Reply via email to