summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/util/PSQLException.java
diff options
context:
space:
mode:
authorBarry Lind <barry@xythos.com>2003-03-08 06:06:55 +0000
committerBarry Lind <barry@xythos.com>2003-03-08 06:06:55 +0000
commit05a966fca4a828413da9d3a9d9492d111e176780 (patch)
tree27d001bc82ccccda6ec32d29ad6639ba854bbfde /src/interfaces/jdbc/org/postgresql/util/PSQLException.java
parentf93672e2c907bf19f861fcfb4ffb7f4cb37a77c2 (diff)
downloadpostgresql-05a966fca4a828413da9d3a9d9492d111e176780.tar.gz
Applied patch from Paul Sorenson to correctly handle schema names in updateable result sets.
Applied patch from Rich Cullingford to fix a NPE in the absolute() method of result set. Applied patch from Tarjei Skorgenes to fix a NPE when logging is enabled. Modified Files: jdbc/org/postgresql/core/BaseResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc2/Array.java jdbc/org/postgresql/util/PSQLException.java
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/util/PSQLException.java')
-rw-r--r--src/interfaces/jdbc/org/postgresql/util/PSQLException.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/util/PSQLException.java b/src/interfaces/jdbc/org/postgresql/util/PSQLException.java
index c718f699a3..3dbf257302 100644
--- a/src/interfaces/jdbc/org/postgresql/util/PSQLException.java
+++ b/src/interfaces/jdbc/org/postgresql/util/PSQLException.java
@@ -7,7 +7,7 @@
* Copyright (c) 2003, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/util/Attic/PSQLException.java,v 1.9 2003/03/07 18:39:46 barry Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/util/Attic/PSQLException.java,v 1.10 2003/03/08 06:06:55 barry Exp $
*
*-------------------------------------------------------------------------
*/
@@ -122,6 +122,6 @@ public class PSQLException extends SQLException
*/
public String toString()
{
- return message;
+ return message != null ? message : "";
}
}