Re: [GENERAL] RE: [HACKERS] error messages not only English
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: vadim@krs.ru (Vadim Mikheev)
Cc: peter@maidstone.gov.uk, sferac@bo.nettuno.it, pgsql-hackers@postgreSQL.org
Date: 1998-05-26T16:09:46Z
Lists: pgsql-hackers, pgsql-general
> > 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@candle.pha.pa.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)