postgresql/src/interfaces
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
..
cli Cleanup of <> and "" 2000-05-29 21:25:07 +00:00
ecpg Inheritance overhaul by Chris Bitmead <chris@bitmead.com> 2000-06-09 01:44:34 +00:00
jdbc This patch fixes the 0-based/1-based result set indexing problem for 2000-06-09 17:27:57 +00:00
libpgeasy Moved configure script from src/ to the top level directory. Moved 2000-06-06 22:01:15 +00:00
libpgtcl Moved configure script from src/ to the top level directory. Moved 2000-06-06 22:01:15 +00:00
libpq Moved configure script from src/ to the top level directory. Moved 2000-06-06 22:01:15 +00:00
libpq++ Moved configure script from src/ to the top level directory. Moved 2000-06-06 22:01:15 +00:00
odbc I have made the couple of mods required to make the odbc driver with 2000-06-09 16:03:09 +00:00
perl5 More perl cleanup 2000-06-01 03:07:33 +00:00
python Cleanup of <> and "" 2000-05-29 21:25:07 +00:00
Makefile Reinstalled revision 1.36 (looks Peter Mount installed 2000-04-26 09:03:10 +00:00