]> granicus.if.org Git - postgresql/commit
The patch does the following:
authorBarry Lind <barry@xythos.com>
Tue, 11 Jun 2002 02:55:16 +0000 (02:55 +0000)
committerBarry Lind <barry@xythos.com>
Tue, 11 Jun 2002 02:55:16 +0000 (02:55 +0000)
commitb465f5307f9f5506beb1edbcc0fb56eed7c29c12
tree8b9c3b3635d22ac8e0983c28ba761ca231469c05
parent8d1c1d40ec25424d08539cdd358cfcc437adeb63
The patch does the following:
  Allows you to set the loglevel at runtime by adding ?loglevel=X to the connection URL, where 1 = INFO and 2 = DEBUG.
  Automatically turns on logging by calling DriverManager.setPrintWriter(new PrintWriter(System.out)) if one is not already set.
Adds a Driver.info() message that prints out the version number
Adds member variables logDebug and logInfo that can be checked before making logging methods calls
Adds a build number to the version number string.  This build number will need to be manually incremented when we see fit.

----------------------------------------------------------------------
Modified Files:
  org/postgresql/Connection.java org/postgresql/Driver.java.in
  org/postgresql/fastpath/Fastpath.java
  org/postgresql/jdbc1/DatabaseMetaData.java
  org/postgresql/jdbc2/Connection.java
  org/postgresql/jdbc2/DatabaseMetaData.java
  org/postgresql/largeobject/LargeObjectManager.java
  org/postgresql/util/PSQLException.java
  org/postgresql/util/Serialize.java
----------------------------------------------------------------------
src/interfaces/jdbc/org/postgresql/Connection.java
src/interfaces/jdbc/org/postgresql/Driver.java.in
src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
src/interfaces/jdbc/org/postgresql/largeobject/LargeObjectManager.java
src/interfaces/jdbc/org/postgresql/util/Serialize.java