mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
More SQLState updates from Kim Ho at Redhat.
Also a patch from Kris Jurka to correctly report SQLState support. Modified Files: jdbc/org/postgresql/Driver.java.in jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/fastpath/Fastpath.java jdbc/org/postgresql/geometric/PGbox.java jdbc/org/postgresql/geometric/PGcircle.java jdbc/org/postgresql/geometric/PGline.java jdbc/org/postgresql/geometric/PGlseg.java jdbc/org/postgresql/geometric/PGpath.java jdbc/org/postgresql/geometric/PGpoint.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSetMetaData.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSetMetaData.java jdbc/org/postgresql/jdbc2/Array.java jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java jdbc/org/postgresql/util/PGmoney.java jdbc/org/postgresql/util/PSQLState.java
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* Copyright (c) 2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Attic/Driver.java.in,v 1.35 2003/09/08 17:30:22 barry Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Attic/Driver.java.in,v 1.36 2003/09/13 04:02:12 barry Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -142,7 +142,7 @@ public class Driver implements java.sql.Driver
|
||||
{
|
||||
if (Driver.logDebug)
|
||||
Driver.debug("error", ex);
|
||||
throw new PSQLException("postgresql.jvm.version", ex);
|
||||
throw new PSQLException("postgresql.jvm.version", PSQLState.SYSTEM_ERROR, ex);
|
||||
}
|
||||
catch (PSQLException ex1)
|
||||
{
|
||||
@ -155,7 +155,7 @@ public class Driver implements java.sql.Driver
|
||||
if (Driver.logDebug) {
|
||||
Driver.debug("error", ex2);
|
||||
}
|
||||
throw new PSQLException("postgresql.unusual", ex2);
|
||||
throw new PSQLException("postgresql.unusual", PSQLState.UNEXPECTED_ERROR, ex2);
|
||||
}
|
||||
}
|
||||
|
||||
@ -504,6 +504,6 @@ public class Driver implements java.sql.Driver
|
||||
|
||||
|
||||
//The build number should be incremented for every new build
|
||||
private static int m_buildNumber = 208;
|
||||
private static int m_buildNumber = 209;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user