>
Bruce Momjian <bruce@momjian.us>
>
> 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
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/jdbc/org/postgresql/errors_fr.properties | modified | +1 −0 |
| src/interfaces/jdbc/org/postgresql/errors.properties | modified | +1 −0 |
| src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java | modified | +14 −9 |
| src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java | modified | +16 −9 |