Port Bug Report: Error in errors.properties in JDBC interface

From: Unprivileged user <nobody>
To: pgsql-ports(at)postgresql(dot)org
Subject: Port Bug Report: Error in errors.properties in JDBC interface
Date: 1999-07-09 13:15:06
Message-ID: 199907091315.JAA10696@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Mark Collins
Your email address : mcollins(at)openworld(dot)co(dot)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

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

Browse pgsql-ports by date

  From Date Subject
Next Message MESZAROS Attila 1999-07-09 14:32:50 Above 2G on a 32 bit architecture
Previous Message Unprivileged user 1999-07-09 12:44:14 Port Bug Report: ERROR:RestrictionClauseSelectivity: bad value 164739.656250