postgresql/src/interfaces
Barry Lind 4bc8c8dd95 This patch fixes a bug reported by Graham Leggett (minfrin@sharp.fm).
The bug was that any insert or update would fail if the returned oid was
larger than a signed int.  Since OIDs are unsigned int's it was
a bug that the code used a java signed int to deal with the values.  The bug
would result in the error message: "Unable to fathom update count".
While fixing the bug, it became apparent that other code made a similar
assumption about OIDs being signed ints.  Therefore some methods that returned
or took OIDs are arguements also needed to be changed.
Since we are so close to the 7.2 release I have added new methods that
return longs and deprecated the old methods returning ints.  Therefore all
old code should still work without requiring a code change to cast from long to int.  Also note that the methods below are PostgreSQL specific extensions to
the JDBC api are are not part of the spec from Sun, thus it is unlikely that
they are used much or at all.

The deprecated methods are:
  ResultSet.getInsertedOID()
  Statement.getInsertedOID()
  Serialize.store()
  Connection.putObject()
and are replaced by:
  ResultSet.getLastOID()
  Statement.getLastOID()
  Serialize.storeObject()
  Connection.storeObject()
All the deprecated methods returned int, while their replacements return long

This patch also fixes two comments in MD5Digest that the author Jeremy Wohl
submitted.

--Barry
2001-11-25 23:26:59 +00:00
..
cli Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
ecpg Spell 'precedes', 'preceding' correctly in various places. 2001-11-21 22:57:01 +00:00
jdbc This patch fixes a bug reported by Graham Leggett (minfrin@sharp.fm). 2001-11-25 23:26:59 +00:00
libpgeasy pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
libpgtcl New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
libpq Remove compile errors of psql.exe and libpq.dll under 2001-11-22 10:18:52 +00:00
libpq++ Make libpq++ safe again for older C++ compilers. Do 'using namespace std' 2001-09-30 22:30:37 +00:00
odbc Fix comment at top of file to match file name. 2001-11-19 06:26:00 +00:00
perl5 New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
python A bunch of small doco updates motivated by scanning the comments on 2001-11-19 03:58:25 +00:00
Makefile Recursive distclean shouldn't depend on recursive clean. Subdirectories 2001-03-09 21:50:27 +00:00