Cursor Movement - Past the End - Mailing list pgsql-hackers

From David Hartwig
Subject Cursor Movement - Past the End
Date
Msg-id 366C2A36.32C53DB7@insightdist.com
Whole thread Raw
Responses Re: [HACKERS] Cursor Movement - Past the End  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
We are in the process of implementing several additional Extended Fetch
capabilities into the ODBC driver.  In order to complete the full set of
functions, we need to be able to FETCH to the end of the cursor, detect
the end, and then be able to move to prior positions in the the cursor.
The problem is that once the end of the cursor is reached the cursor is
no longer usable.

I think the cursor should still be valid after moving past the end.  I
have tinkered around to see if the cursor can be preserved after
moving/fetching past the end without much luck.    I am throwing this
out to the list in the hopes that someone will respond "Gee, Dave, all
you have to do is (*^%^$$%$#!)".

I would greatly appreciate any assistance in resolving this problem.
Many ODBC components and applications make heavy use of these extended
features.

TIA.


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Proposed autoconf change: rip out search for 'install'
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Proposed autoconf change: rip out search for 'install'