1. 24 Jun, 2002 1 commit
  2. 13 Jun, 2002 1 commit
  3. 02 Apr, 2002 1 commit
  4. 27 Mar, 2002 1 commit
  5. 09 Mar, 2002 2 commits
  6. 06 Sep, 2001 1 commit
  7. 21 Aug, 2001 1 commit
    • Bruce Momjian's avatar
      > · 44ae35ca
      Bruce Momjian authored
      > Shouldn't
      >
      >    throw new PSQLException("metadata unavailable");
      >
      > in getTypeInfo() be something like:
      >
      >    throw new PSQLException("postgresql.meta.unavailable");
      >
      > to allow translation of the error message in the
      > errors*.properties files?
      
      You're right. Attached is an updated patch that also includes a message
      in error.properties. I've attempted a French message in
      errors_fr.properties but beware that I haven't written French in quite a
      few years. Don't know Italian, German, or Dutch so I can't do those.
      
      Liam Stewart
      44ae35ca
  8. 17 Aug, 2001 1 commit
    • Bruce Momjian's avatar
      Thanks for your feedback (and patience). Enclosed is my third · a21c0960
      Bruce Momjian authored
      attempt at a patch to 7.1.2 to support Array.
      
      [I think I've solved the mangled patch problem.  Hotmail seems to
      try to format the text file, so gzipping it should solve this
      problem.]
      
      In this patch I've incorporated Barry's feedback.  Specifically:
      
      1)  OIDs are no longer hard-coded into Array.java.  In order to
          support this change I added a getOID(String) method to Field.java
          which receives a PostgreSQL field type and returns a value from
          java.sql.Types.  I couldn't get away from using OIDs altogether
          because the JDBC spec for Array specifies that some methods return
          a ResultSet.  This requires I construct Field objects,
          which means I need OIDs.  At least this approach doesn't hard
          code these values.  A Hashtable cache has been added to Field
          so that an SQL lookup isn't necessary (following the model already
          in Field.java).
      
      2)  Rewired the base formatting code in ResultSet.java to use 'to'
          methods, which are then exposed as static methods in ResultSet.
          These methods are used in Array to format the data without
          duplications in the code.
      
      3)  Artifact call to first() in ResultSet.getArray() removed.
      
      Greg Zoller
      a21c0960
  9. 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
  10. 12 Oct, 2000 1 commit
  11. 26 Apr, 2000 1 commit
  12. 15 Sep, 1999 1 commit
  13. 14 Sep, 1999 1 commit
  14. 23 Jun, 1999 1 commit
  15. 18 May, 1999 1 commit
  16. 17 May, 1999 1 commit