Re: [HACKERS] Re: [GENERAL] 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: scrappy(at)hub(dot)org, sferac(at)bo(dot)nettuno(dot)it, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [GENERAL] error messages not only English
Date: 1998-05-26 16:08:15
Message-ID: 199805261608.MAA13218@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>
> The Hermit Hacker wrote:
> >
> > Hrmmm...create an 'include/utils/errmsg.h file that is a link created by
> > configure based on a --with-language=<insert your language here>...the
> > file would contain:
> >
> > #define <ERRMSG TOKEN> "Error message in your language"
> ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > Then use the TOKEN with elog...
> >
> > If we did something like this, we wouldn't have to convert all at once
> > either, just as we pick up a new one...
>
> Sometime ago we told about using error codes in elog (and put them to the
> client) - this would very useful for non-interactive applications...
>
> How about to implement this ?

Added to TODO. The first part was already there:

* allow international error message support and add error codes

--
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

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1998-05-26 16:09:46 Re: [GENERAL] RE: [HACKERS] error messages not only English
Previous Message Herouth Maoz 1998-05-26 16:03:20 Re: [GENERAL] Mirror Sites...

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-05-26 16:09:46 Re: [GENERAL] RE: [HACKERS] error messages not only English
Previous Message Bruce Momjian 1998-05-26 16:07:05 Re: [HACKERS] Current sources?