1. 05 Mar, 2002 1 commit
    • Bruce Momjian's avatar
      At this moment, --enable-debug adds debugging information to most of the · 0416641b
      Bruce Momjian authored
      parts o f postgresql. The jdbc drivers are never compiled with debugging
      support. This p atch make sure that debugging information is added to
      the jdbc jar when the --en able-debug is added. This was usefull for me
      for debugging some java jdbc poolin g objects but this might perhaps be
      usefull for other people too?
      
      Dries Verachtert
      0416641b
  2. 24 Feb, 2002 1 commit
  3. 22 Feb, 2002 1 commit
  4. 23 Sep, 2001 1 commit
    • Bruce Momjian's avatar
      The attached patch is my first run-through of the JDBC test suite. A · b75814ae
      Bruce Momjian authored
      summary of changes:
      
       . removal of the tablename property from build.xml
      
       . addition of a dropTable method in JDBC2Tests and cleanups of many
      methods in the same
      
       . all tests now use non-deprecated assertXYZ methods instead of the
      deprecated assert method
      
       . failure in TimestampTest (testSetTimestamp) fixed. The failure is
      because testSetTimestamp was inserting a timestamp with hour 7 but
      checkTimeTest was expecting a timestamp with hour 8. AFAICS, there are
      no issues wrt daylight savings time and timestamps being pushed in and
      pulled out (but more explicit tests should be added in the future)
      
       . failure in TimeTest (testGetTime) fixed. Times to be inserted were
      interpreted in the localtime zone but checking was done with the
      assumption that the insertion was done in GMT.
      
       . formatting changes in a few of the source files (because I found
      it convenient to have consistent formatting while working on them). The
      formatting is consistent with the new format for java source files in
      PostgreSQL.
      
      Liam Stewart
      b75814ae
  5. 06 Jul, 2001 1 commit
    • Peter Eisentraut's avatar
      Resolve a number of oddities in the Java build. First, remove the weird · af3ce5da
      Peter Eisentraut authored
      redirections between the build files, which didn't work completely.  Now
      you just go to the directory of your choice and run make.  Clean up the
      build files to have a logical order, fix the unnecessary rebuilds, prevent
      the deleting targets from removing files they're not responsible for.  Ant
      1.3 does not have a bug.  It deletes directories just fine if you follow
      the documentation.
      af3ce5da
  6. 04 Jul, 2001 1 commit
  7. 25 May, 2001 1 commit
  8. 23 May, 2001 2 commits
  9. 19 May, 2001 1 commit
  10. 17 May, 2001 1 commit
  11. 16 May, 2001 2 commits
  12. 11 Mar, 2001 1 commit
  13. 05 Mar, 2001 1 commit
    • Peter Mount's avatar
      · c18bb990
      Peter Mount authored
      Ok, I've split todays commit into three, the first two already done had some
      bits in JDBC & the first set of tools into contrib.
      
      This is the third, and deals with enabling JDBC to be compiled with the main
      source.
      
      What it does is add a new option to configure: --with-java
      
      This option tells configure to look for ant (our build tool of choice) and
      if found, it then compiles both the JDBC driver and the new tools as part
      of the normal make.
      
      Also, when the postgresql install is done, all the .jar files are also
      installed into the ${PGLIB}/java directory (thought best to keep then separate)
      
      Now I had some conflicts when this applied so could someone please double check
      that everything is ok?
      
      Peter
      c18bb990
  14. 14 Feb, 2001 1 commit
    • Peter Mount's avatar
      Web Feb 14 17:29:00 GMT 2001 peter@retep.org.uk · bb7b7182
      Peter Mount authored
              - Fixed bug in LargeObject & BlobOutputStream where the stream's output
                was not flushed when either the stream or the blob were closed.
              - Fixed PreparedStatement.setBinaryStream() where it ignored the length
      bb7b7182
  15. 07 Feb, 2001 1 commit
  16. 18 Jan, 2001 2 commits
    • Peter Mount's avatar
      Thu Jan 18 17:37:00 GMT 2001 peter@retep.org.uk · 8bc9f001
      Peter Mount authored
              - 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.
      8bc9f001
    • Peter Mount's avatar
      Thu Jan 18 12:24:00 GMT 2001 peter@retep.org.uk · 45b5d792
      Peter Mount authored
              - 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
      
      Thu Jan 18 09:46:00 GMT 2001 peter@retep.org.uk
              - Applied modified patch from Richard Bullington-McGuire
                <rbulling@microstate.com>. I had to modify it as some of the code
                patched now exists in different classes, and some of it actually
                patched obsolete code.
      
      Wed Jan 17 10:19:00 GMT 2001 peter@retep.org.uk
              - Updated Implementation to include both ANT & JBuilder
              - Updated README to reflect the changes since 7.0
      	- Created jdbc.jpr file which allows JBuilder to be used to edit the
                source. JBuilder _CAN_NOT_ be used to compile. You must use ANT for
                that. It's only to allow JBuilders syntax checking to improve the
                drivers source. Refer to Implementation for more details
      45b5d792
  17. 20 Dec, 2000 1 commit
  18. 19 Dec, 2000 1 commit