pgsql/src/interfaces/jdbc/org/postgresql error ...

From: Bruce Momjian - CVS <momjian(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/jdbc/org/postgresql error ...
Date: 2001-08-21 00:37:23
Message-ID: 200108210037.f7L0bN988325@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: momjian(at)hub(dot)org 01/08/20 20:37:23

Modified files:
src/interfaces/jdbc/org/postgresql: errors.properties
errors_fr.properties
src/interfaces/jdbc/org/postgresql/jdbc1: DatabaseMetaData.java
src/interfaces/jdbc/org/postgresql/jdbc2: DatabaseMetaData.java

Log message:
>
> Shouldn't
>
> throw new PSQLException("metadata unavailable");
>
> in getTypeInfo() be something like:
>
> throw new PSQLException("postgresql.meta.unavailable");
>
> to allow translation of the error message in the
> errors*.properties files?

You're right. Attached is an updated patch that also includes a message
in error.properties. I've attempted a French message in
errors_fr.properties but beware that I haven't written French in quite a
few years. Don't know Italian, German, or Dutch so I can't do those.

Liam Stewart

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-08-21 00:39:20 pgsql/contrib/xml Makefile README TODO pgxml.s ...
Previous Message Bruce Momjian - CVS 2001-08-21 00:36:26 pgsql/contrib README