summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/errors.properties
diff options
context:
space:
mode:
authorDave Cramer <davec@fastcrypt.com>2002-03-09 17:08:39 +0000
committerDave Cramer <davec@fastcrypt.com>2002-03-09 17:08:39 +0000
commit1eb31d197d8eadc5340f0dfe7e2c7169e1005275 (patch)
tree4261ab2f09211b1811017bd00379e2c572cafe8b /src/interfaces/jdbc/org/postgresql/errors.properties
parentfdcb8516d46877c7090c7115c93610a58c35c669 (diff)
downloadpostgresql-1eb31d197d8eadc5340f0dfe7e2c7169e1005275.tar.gz
Here is a small patch that cleans up some error reporting in the JDBC driver. PSQLExceptions are thrown instead of SQLExceptions and if a warning is received while waiting for the backend secret key, that warning is chained to the new Connection object instead of generating an exception. A couple new error messages have been added.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/errors.properties')
-rw-r--r--src/interfaces/jdbc/org/postgresql/errors.properties4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/errors.properties b/src/interfaces/jdbc/org/postgresql/errors.properties
index 9bf4ca4b2e..f8054dd1fa 100644
--- a/src/interfaces/jdbc/org/postgresql/errors.properties
+++ b/src/interfaces/jdbc/org/postgresql/errors.properties
@@ -3,6 +3,7 @@ postgresql.arr.range:The array index is out of range.
postgresql.drv.version:An internal error has occured. Please recompile the driver.
postgresql.con.auth:The authentication type {0} is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or Subnet, and that it is using an authentication scheme supported by the driver.
postgresql.con.authfail:An error occured while getting the authentication request.
+postgresql.con.backend:Backend start-up failed: {0}.
postgresql.con.call:Callable Statements are not supported at this time.
postgresql.con.creobj:Failed to create object for {0} {1}
postgresql.con.failed:The connection attempt failed because {0}
@@ -11,9 +12,10 @@ postgresql.con.garbled:Garbled data received.
postgresql.con.ioerror:An IO erro occured while sending to the backend - {0}
postgresql.con.kerb4:Kerberos 4 authentication is not supported by this driver.
postgresql.con.kerb5:Kerberos 5 authentication is not supported by this driver.
+postgresql.con.misc:A connection error has occurred: {0}
postgresql.con.multres:Cannot handle multiple result groups.
postgresql.con.pass:The password property is missing. It is mandatory.
-postgresql.con.refused:Connection refused. Check that the hostname and port is correct, and that the postmaster is running with the -i flag, which enables TCP/IP networking.
+postgresql.con.refused:Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
postgresql.con.setup:Protocol error. Session setup failed.
postgresql.con.strobj:The object could not be stored. Check that any tables required have already been created in the database.
postgresql.con.strobjex:Failed to store object - {0}