Skip to content
Permalink
Browse files
sync error message value with tested value (#1664)
  • Loading branch information
draderaws committed Jan 29, 2020
1 parent b21f474 commit 91d422d6fd7976fa740295bb398fbfd79cb01c65
Showing with 1 addition and 1 deletion.
  1. +1 −1 pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java
@@ -187,7 +187,7 @@ public void setNull(int parameterIndex, int sqlType) throws SQLException {
if (parameterIndex < 1 || parameterIndex > preparedParameters.getParameterCount()) {
throw new PSQLException(
GT.tr("The column index is out of range: {0}, number of columns: {1}.",
parameterIndex, preparedParameters.getInParameterCount()),
parameterIndex, preparedParameters.getParameterCount()),
PSQLState.INVALID_PARAMETER_VALUE);
}

0 comments on commit 91d422d

Please sign in to comment.