| From: | "Zeugswetter Andreas ADI SD" <ZeugswetterA(at)spardat(dot)at> |
|---|---|
| To: | "David Fetter" <david(at)fetter(dot)org>, "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com> |
| Cc: | <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: proposal - new SPI cursor function |
| Date: | 2007-01-05 08:58:32 |
| Message-ID: | E1539E0ED7043848906A8FF995BDA57901A35854@m0143.s-mxs.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Galy Lee | 2007-01-05 09:45:45 | Re: Deadline-Based Vacuum Delay |
| Previous Message | Magnus Hagander | 2007-01-05 08:40:05 | Re: Problem with windows installer |