1. 09 9月, 2003 2 次提交
    • B
      Opps, can't forget the new file. This is part of the last commit to apply · 05dddf40
      Barry Lind 提交于
      the redhat patch for SQLState support.
      
       Added Files:
       	PSQLState.java
      05dddf40
    • B
      This set of changes applies a patch from KHO at redhat to add some SQLState · 0378a269
      Barry Lind 提交于
      support to the jdbc driver.
      That patch needed some work: it assumed the sqlcode in a server message was
      fixed in its position, the patch lost the ability to pass exceptions, and the
      patch missed a couple of places where server errors where being received.
      In addition to fixing the above, I also added full support for the V3 protocol
      error message syntax, I reversed the order of arguments in the PSQLException
      constructor to more closely follow the constructors for SQLException, I changed
      the new constructors that take PSQLState to take Object for additional
      parameters as the old ones did.
      Still todo are to add SQLState values to all existing exceptions thrown in the
      driver and add support for parsing the V3 protocol format for notices.
      
       Modified Files:
       	jdbc/build.xml jdbc/org/postgresql/Driver.java.in
       	jdbc/org/postgresql/errors.properties
       	jdbc/org/postgresql/core/Encoding.java
       	jdbc/org/postgresql/core/PGStream.java
       	jdbc/org/postgresql/core/QueryExecutor.java
       	jdbc/org/postgresql/fastpath/Fastpath.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
       	jdbc/org/postgresql/util/MessageTranslator.java
       	jdbc/org/postgresql/util/PSQLException.java
      0378a269
  2. 08 9月, 2003 5 次提交
  3. 07 9月, 2003 6 次提交
  4. 06 9月, 2003 8 次提交
  5. 05 9月, 2003 10 次提交
  6. 04 9月, 2003 9 次提交