Re: [GENERAL] RE: [HACKERS] error messages not only English - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [GENERAL] RE: [HACKERS] error messages not only English
Date
Msg-id 356AE5EF.800589CC@krs.ru
Whole thread Raw
In response to RE: [HACKERS] error messages not only English  (Peter Mount <peter@maidstone.gov.uk>)
Responses Re: [GENERAL] RE: [HACKERS] error messages not only English
Re: [GENERAL] RE: [HACKERS] error messages not only English
List pgsql-hackers
Peter Mount wrote:
>
> That sounds like a good idea.
>
> How about having them stored in a new system table (say pg_errormsg) which
> contains each possible error in all the supported languages. That way, you
> can have multiple language support when users from different countries use
> the same server?

Yes, this is nice. One note: server have to load from this table all messages
in a language requested by user when switching to this language - it's not
possible to read any table from elog() in most cases.

Vadim

pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] Re: [GENERAL] error messages not only English
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Current sources?