From: Barry Lind Date: Wed, 17 Sep 2003 05:14:52 +0000 (+0000) Subject: Applied patch from Fernando Nasser of RedHat to fix some error messages X-Git-Tag: REL7_4_BETA4~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33815bf657272b0be82f946ac7d53f082f6a4860;p=postgresql Applied patch from Fernando Nasser of RedHat to fix some error messages that would not get correctly looked up in the translation files for jdbc Modified Files: jdbc/org/postgresql/errors.properties jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java --- diff --git a/src/interfaces/jdbc/org/postgresql/errors.properties b/src/interfaces/jdbc/org/postgresql/errors.properties index 9b8edc3a5f..468ef71aa8 100644 --- a/src/interfaces/jdbc/org/postgresql/errors.properties +++ b/src/interfaces/jdbc/org/postgresql/errors.properties @@ -94,7 +94,7 @@ postgresql.updateable.beforestartdelete:Before start of result set. Can not call postgresql.updateable.afterlastdelete:After end of result set. Can not call deleteRow(). postgresql.updateable.notoninsertrow:Not on insert row. postgresql.updateable.inputstream:Input Stream is null. -postgresql.updateable.ioerror:Input Stream Error. +postgresql.updateable.ioerror:Input Stream Error - {0} postgresql.call.noreturntype:A CallableStatement Function was declared but no call to 'registerOutParameter (1, )' was made. postgresql.call.noinout:PostgreSQL only supports function return value [@ 1] (no OUT or INOUT arguments) postgresql.call.procasfunc:This Statement [{0}] defines a procedure call (needs ?= call to be considered a function. diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java b/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java index e7f723365f..7b4f7c1e9a 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java @@ -9,7 +9,7 @@ * Copyright (c) 2003, PostgreSQL Global Development Group * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.23 2003/09/13 04:02:15 barry Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.24 2003/09/17 05:14:52 barry Exp $ * *------------------------------------------------------------------------- */ @@ -778,7 +778,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra } catch (IOException ie) { - throw new PSQLException("postgresql.updateable.ioerror" + ie); + throw new PSQLException("postgresql.updateable.ioerror", ie); } updateValue(columnIndex, theData); @@ -811,7 +811,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra } catch (IOException ie) { - throw new PSQLException("postgresql.updateable.ioerror" + ie); + throw new PSQLException("postgresql.updateable.ioerror", ie); } updateValue(columnIndex, theData); } @@ -858,7 +858,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra } catch (IOException ie) { - throw new PSQLException("postgresql.updateable.ioerror" + ie); + throw new PSQLException("postgresql.updateable.ioerror", ie); } updateValue(columnIndex, theData); }