2
I Use This!
Moderate Activity

Commits : Listings

Analyzed 5 days ago. based on code collected 5 days ago.
Jun 11, 2023 — Jun 11, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Thu Jan 18 17:37:00 GMT 2001 [email protected] - Added new error message into errors.properties "postgresql.notsensitive" This is used by jdbc2.ResultSet when a method is called that should fetch the current value of a row from the database refreshRow() for example. - These methods no longer throw the not implemented but the new noupdate error. This is in preparation for the Updateable ResultSet support which will overide these methods by extending the existing class to implement that functionality, but needed to show something other than notimplemented: moveToCurrentRow() moveToInsertRow() rowDeleted() rowInserted() all update*() methods, except those that took the column as a String as they were already implemented to convert the String to an int. - getFetchDirection() and setFetchDirection() now throws "postgresql.notimp" as we only support one direction. The CursorResultSet will overide this when its implemented. - Created a new class under jdbc2 UpdateableResultSet which extends ResultSet and overides the relevent update methods. This allows us to implement them easily at a later date. - In jdbc2.Connection, the following methods are now implemented: createStatement(type,concurrency); getTypeMap(); setTypeMap(Map); - The JDBC2 type mapping scheme almost complete, just needs SQLInput & SQLOutput to be implemented. - Removed some Statement methods that somehow appeared in Connection. - In jdbc2.Statement() getResultSetConcurrency() getResultSetType() setResultSetConcurrency() setResultSetType() - Finally removed the old 6.5.x driver. More... over 23 years ago
Thu Jan 18 12:24:00 GMT 2001 [email protected] - These methods in org.postgresql.jdbc2.ResultSet are now implemented: getBigDecimal(int) ie: without a scale (why did this get missed?) getBlob(int) getCharacterStream(int) getConcurrency() getDate(int,Calendar) getFetchDirection() getFetchSize() getTime(int,Calendar) getTimestamp(int,Calendar) getType() NB: Where int represents the column name, the associated version taking a String were already implemented by calling the int version. - These methods no longer throw the not implemented but the new noupdate error. This is in preparation for the Updateable ResultSet support which will overide these methods by extending the existing class to implement that functionality, but needed to show something other than notimplemented: cancelRowUpdates() deleteRow() - Added new error message into errors.properties "postgresql.noupdate" This is used by jdbc2.ResultSet when an update method is called and the ResultSet is not updateable. A new method notUpdateable() has been added to that class to throw this exception, keeping the binary size down. - Added new error message into errors.properties "postgresql.psqlnotimp" This is used instead of unimplemented when it's a feature in the backend that is preventing this method from being implemented. - Removed getKeysetSize() as its not part of the ResultSet API More... over 23 years ago
Backed out:
tester_123
as Bruce Momjian
More... over 23 years ago
Attached is a set of patches for a couple of bugs dealing with timestamps in JDBC.
tester_123
as Bruce Momjian
More... over 23 years ago
Attached are patches for two fixes to reduce memory usage by the JDBC drivers.
tester_123
as Bruce Momjian
More... over 23 years ago
In looking at the 7.1beta1 code for JDBC, I noticed that support was added to support character set encodings. However I noticed that the encoding that is used isn't obtained from the DB. Since Java uses unicode UCS2 internally the character set encoding is used to translate strings from/to the DB encoding. So it seems logical that the code would get the encoding from the DB instead of the current method of requiring the user pass it as a parameter.
tester_123
as Bruce Momjian
More... over 23 years ago
Finished build.xml and updated Driver.java.in and buildDriver to match how Makefile and ANT operate. More... over 23 years ago
Finally created ant build.xml file More... over 23 years ago
Allow jdbc to return proper server version number
tester_123
as Bruce Momjian
More... over 23 years ago
Encoding patch to Connection by [email protected] More... over 23 years ago
the bug was not fixed in the snapshot of November 5th. Also the enterprise edition of the driver did not compile. I have fixed both issues again. I have attached the modified files to this email, maybe you can check them into the repository. (Fixes are marked with //FIXME). Enterprise edition driver now compiles and seems to work.
tester_123
as Bruce Momjian
More... over 23 years ago
Fixed minor bug in ResultSet for jdbc2 reported by Matthew Denner that absolute doesnt handle negative row numbers correctly. More... over 23 years ago
Some more getTimestamp() fixes More... over 23 years ago
Major update part I involving delayed patches, reworked Makefile, and how the versioning works. There's also a new utils directory used by Makefile More... over 23 years ago
Back out Gunnar R|nning jdbc changes.
tester_123
as Bruce Momjian
More... over 23 years ago
Okay, I have some new code in place that hopefully should work better. I couldn't produce a full patch using cvs diff -c this time since I have created new files and anonymous cvs usage doesn't allow you to adds. I'm supplying the modified src/interfaces/jdbc as a tarball at : http://www.candleweb.no/~gunnar/projects/pgsql/postgres-jdbc-2000-10-05.tgz
tester_123
as Bruce Momjian
More... over 23 years ago
As if my JDBC patch hasn't already caused enough grief, there is now a one-line change necessary. Due to the Mark Holloman "New Relkind for Views" patch, my support for views in the driver will need to be updated to match. The change to DatabaseMetaData.getTableTypes[][] is as follows:
tester_123
as Bruce Momjian
More... almost 24 years ago
Attached is a patch that prevents a NullPointerException in the JDBC driver if the translations files have not been properly installed. (We carefully avoided installing the translations file in a controlled environment here specifically to test for such a bug. :-)
tester_123
as Bruce Momjian
More... almost 24 years ago
This patch implements the following command:
tester_123
as Bruce Momjian
More... almost 24 years ago
Attached are a patch to allow the charset encoding used by the JDBC driver to be set, and a description of said patch. Please refer to the latter for more information.
tester_123
as Bruce Momjian
More... almost 24 years ago
Applied to jdbc1 and jdbc2.
tester_123
as Bruce Momjian
More... almost 24 years ago
This patch for the 7.0.2 JDBC interface addresses four issues I encountered while getting my reporting tool up and running with the driver. All changes are in the DatabaseMetaData class.
tester_123
as Bruce Momjian
More... almost 24 years ago
Fixed DatabaseMetaData.getTableTypes() More... almost 24 years ago
Brand 7.1 release. Also update jdbc version in release branch.
tester_123
as Bruce Momjian
More... about 24 years ago
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;
tester_123
as Bruce Momjian
More... about 24 years ago
Here is a patch for interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
tester_123
as Bruce Momjian
More... about 24 years ago
Added org/postgresql/DriverClass.java to the list of files removed by make clean (it's dynamically built) Fixed Statement, so that the update count is valid when an SQL DELETE operation is done. While fixing the update count, made it easier to get the OID of the last insert as well. Example is in example/basic.java More... about 24 years ago
Added some missing org.'s that prevented the use of the geometric types More... about 24 years ago
Removed hardwired 8k limit on queries More... about 24 years ago
Removed timezone in ResultSet.getTimestamp() More... about 24 years ago