Re: proposal - new SPI cursor function

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas ADI SD
Тема Re: proposal - new SPI cursor function
Дата
Msg-id E1539E0ED7043848906A8FF995BDA57901A35854@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: proposal - new SPI cursor function  (David Fetter <david@fetter.org>)
Список pgsql-hackers
> > > 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


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Problem with windows installer
Следующее
От: Galy Lee
Дата:
Сообщение: Re: Deadline-Based Vacuum Delay