Re: DatabaseMetaData patch

From: Liam Stewart <liams(at)redhat(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: DatabaseMetaData patch
Date: 2001-08-18 13:17:55
Message-ID: 20010818091755.A31000@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Fri, Aug 17, 2001 at 11:17:45PM +0200, Rene Pijlman wrote:
>
> 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

--
Liam Stewart :: Red Hat Canada, Ltd. :: liams(at)redhat(dot)com

Attachment Content-Type Size
dbmetatdata.diff text/plain 11.2 KB

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Naeslund(f) 2001-08-18 13:53:40 Re: Re: [HACKERS] Re: WIN32 errno patch
Previous Message Tatsuo Ishii 2001-08-18 11:14:25 Re: encoding names