pgsql/src/interfaces/jdbc/org/postgresql error ... - Mailing list pgsql-committers

From Bruce Momjian - CVS
Subject pgsql/src/interfaces/jdbc/org/postgresql error ...
Date
Msg-id 200108210037.f7L0bN988325@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.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


pgsql-committers by date:

Previous
From: Bruce Momjian - CVS
Date:
Subject: pgsql/doc FAQ src/FAQ/FAQ.html
Next
From: Bruce Momjian - CVS
Date:
Subject: pgsql/ oc/FAQ_japanese oc/src/FAQ/FAQ_japanese ...