Re: [GENERAL] RE: [HACKERS] error messages not only English

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)krs(dot)ru (Vadim Mikheev)
Cc: peter(at)maidstone(dot)gov(dot)uk, sferac(at)bo(dot)nettuno(dot)it, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [GENERAL] RE: [HACKERS] error messages not only English
Date: 1998-05-26 16:09:46
Message-ID: 199805261609.MAA13242@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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.

Error messages in a system table. That is cool, and would be very easy
to add/maintain. Would have to be loaded into C variables for use,
however.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1998-05-26 16:11:48 Re: [GENERAL] RE: [HACKERS] error messages not only English
Previous Message Bruce Momjian 1998-05-26 16:08:15 Re: [HACKERS] Re: [GENERAL] error messages not only English

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-05-26 16:11:48 Re: [GENERAL] RE: [HACKERS] error messages not only English
Previous Message Bruce Momjian 1998-05-26 16:08:15 Re: [HACKERS] Re: [GENERAL] error messages not only English