postgresql/src
Bruce Momjian d3ef753686 This patch fixes the 0-based/1-based result set indexing problem for
absolute.  It also makes it more compliant with the interface
specification in Sun's documentation;

1. absolute(0) should throw an exception.
2. absolute(>num-records) should set the current row to after the last
record in addition to returning false.
3. absolute(<num-records) should set the current row to before the first
record in addition to returning false.

These operations in the existing code just return false and don't change
current_row.

These changes required a minor change to relative(int) since it calls
absolute(int)

The attached patch is against the cvs repository tree as of this morning.

Also, who is in charge of maintaining the jdbc driver?  I'm working on
getArray for the jdbc2 driver, but it's going to require three more
classes to be added to the driver, and thus three more source files
in the repository.  Is there someone I can contact directly to ask about
this?

Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer
2000-06-09 17:27:57 +00:00
..
backend I have large database and with this DB work more users and I very need 2000-06-09 15:51:02 +00:00
bin I have large database and with this DB work more users and I very need 2000-06-09 15:51:02 +00:00
corba Updating and addign files... 1998-11-19 02:39:51 +00:00
data I've sent 3 mails to pgsql-patches. There are two files, one for doc 1999-08-16 20:27:19 +00:00
include I have made the couple of mods required to make the odbc driver with 2000-06-09 16:03:09 +00:00
interfaces This patch fixes the 0-based/1-based result set indexing problem for 2000-06-09 17:27:57 +00:00
makefiles Please forget all I said about gcc and AIX in my previous mail. 2000-04-05 14:47:21 +00:00
pl Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses 2000-06-07 16:27:00 +00:00
template Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses 2000-06-07 16:27:00 +00:00
test Clean up regression for new 1st/9th/3rd fixes. 2000-06-09 11:40:03 +00:00
tools Mark functions as static and ifdef NOT_USED as appropriate. 2000-06-08 22:38:00 +00:00
tutorial Another round of updates for new fmgr, mostly in the datetime code. 2000-06-09 01:11:16 +00:00
utils Remove NT-specific file open defines by defining our own open macros for 2000-06-02 15:57:44 +00:00
win32 Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
GNUmakefile.in Moved configure script from src/ to the top level directory. Moved 2000-06-06 22:01:15 +00:00
Makefile Warning in makefile added from DArcy. 1997-08-22 16:38:33 +00:00
Makefile.global.in Generated header files parse.h and fmgroids.h are now copied into 2000-05-29 05:45:56 +00:00
Makefile.shlib Several compilation and run-time problems occur when building on SGI 2000-05-16 20:48:52 +00:00
win32.mak Hi! 2000-01-18 19:05:31 +00:00