Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

In response to

Responses

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group