Port Bug Report: Error in errors.properties in JDBC interface - Mailing list pgsql-ports

From Unprivileged user
Subject Port Bug Report: Error in errors.properties in JDBC interface
Date
Msg-id 199907091315.JAA10696@hub.org
Whole thread Raw
List pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Mark Collins
Your email address      : mcollins@openworld.co.uk

Category                : runtime: back-end
Severity                : serious

Summary: Error in errors.properties in JDBC interface

System Configuration
--------------------
  Operating System   : Linux 2.2.10 ELF (Slackware)

  PostgreSQL version : 6.5

  Compiler used      : gcc + Blackdown JDK 1.1.7

Hardware:
---------


Versions of other tools:
------------------------


--------------------------------------------------------------------------

Problem Description:
--------------------
In the errors.properties file, the error strings start at {1}
instead of {0} causing exception IllegalArgumentException,
Args # > Args Length


--------------------------------------------------------------------------

Test Case:
----------


--------------------------------------------------------------------------

Solution:
---------
Replace {1} with {0} and {2} with {1} etc in
errors.properties

--------------------------------------------------------------------------


pgsql-ports by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report: ERROR:RestrictionClauseSelectivity: bad value 164739.656250
Next
From: MESZAROS Attila
Date:
Subject: Above 2G on a 32 bit architecture