]> granicus.if.org Git - postgresql/commit
>
authorBruce Momjian <bruce@momjian.us>
Tue, 21 Aug 2001 00:37:23 +0000 (00:37 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 21 Aug 2001 00:37:23 +0000 (00:37 +0000)
commit44ae35cab91f1e5a6452da489d4a0c34e181afb9
treef333cc589174c6fd1a46d4cef4e706889e49c27e
parentf6387b516907b3273bc52917a3e2d843e54dca30
>
> 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
src/interfaces/jdbc/org/postgresql/errors.properties
src/interfaces/jdbc/org/postgresql/errors_fr.properties
src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java