README_6.3
上传用户:psq1974
上传日期:2007-01-06
资源大小:1195k
文件大小:3k
源码类别:

mpeg/mp3

开发平台:

C/C++

  1. Ok, here's the JDBC patch.
  2. The jdbc6.3.tar.gz file that I've uploaded ftp.postgresql.org contains the
  3. following files:
  4. README_6.3 This message
  5. blob.patch The patch to src/backend/tcop/fastpath.c fixing large objects
  6. jdbc.tar   The entire jdbc driver
  7. I've put the entire driver here, rather than a patch, because its become
  8. too complicated to do one this time. Files have been moved, two files
  9. removed because they were obsolete, and there are a lot of new files.
  10. Heres what the patch does:
  11. * Memory overflow problem in the backend causing large objects to fail in
  12.   both libpq & jdbc (causing the backend to crash with a Segmentation
  13.   Violation)
  14. * Problem with equals() method on the geometric support classes if the
  15.   class being checked wasn't the same class
  16. * Fixed output of PGpath and PGpolygon support classes (missing , separator)
  17. * Optimised the geometric support classes
  18. * HTMLised the inline documentation, so the output of javadoc is easier
  19.   to read (mainly paragraphs)
  20. * Removed obsolete class PGlobj (it never worked, and has been replaced
  21.   to read (mainly paragraphs)
  22. * Removed obsolete class PGlobj (it never worked, and has been replaced
  23.   by the postgresql.largeobject package)
  24. * Removed obsolete example JDBC_Test.java (replaced by new examples)
  25. * Added < and > to nesting in PGtokenizer.
  26. * Added fastpath support as a new package
  27. * Added large object support as a new package
  28. * Added ability of user code to handle custom storage types.
  29. * Added new example testing the importing and exporting of a large object
  30. * Added example application showing how to store and display images stored
  31.   as large objects
  32. * Added example implementing part of psql client. This shows how to find out
  33.   what tables/columns are in a database (not yet complete)
  34. * ResultSet.getBytes() now returns large object if field is an oid
  35. * ResultSet.getString() now doesn't call getBytes() as this now would
  36.   cause an infinite loop because of large object support in getBytes()
  37. * PreparedStatement.setBytes() now create a large object, and store its
  38.   oid into the column
  39. * Reworked date style handling to make it easier to support new styles
  40. * Added german and ISO styles, now all styles supported by postgresql
  41.   are now supported by the driver
  42. * Fixed DatabaseMetaData.getTables()
  43. * DatabaseMetaData.getTableTypes() returns our supported types.
  44. * Fixed DatabaseMetaData.getColumns()
  45. These three are required for Borland's JBuilder to work. For now they
  46. return an empty result, as I'm not sure yet on how to get the
  47. required results.
  48. * DatabaseMetaData.getBestRowIdentifier()
  49. * DatabaseMetaData.getProcedureColumns()
  50. * DatabaseMetaData.getIndexInfo()
  51. Finally, one change that is incompatible with earlier versions of the
  52. driver. This change only affects any client code that uses the geometric
  53. classes (eg: PGpoint) or the getObject()/setObject() methods.
  54. Because of a problem with javac, if user code includes the line:
  55. import postgresql.*;
  56. then javac will fail, saying that interfaces cannot be instanciated.
  57. To fix this, I've moved these classes into a new sub package,
  58. postgresql.geometric and the PG_Object (renamed PGobject), and PGtokenizer
  59. to postgresql.util.So the above line would become:
  60. import postgresql.geometric.*;
  61. Anyhow, I'm going to start writing some proper documentation for the
  62. driver. For now, there is some available temporarily at:
  63.         http://www.demon.co.uk/finder/postgres/jdbc/packages.html