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

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, "Jose' Soares Da Silva" <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 15:46:21
Message-ID: 356AE3CC.33E86299@krs.ru
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 ?

Vadim

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vadim Mikheev 1998-05-26 15:55:27 Re: [GENERAL] RE: [HACKERS] error messages not only English
Previous Message The Hermit Hacker 1998-05-26 14:05:58 Mirror Sites...

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-05-26 15:50:34 Re: [HACKERS] Current sources?
Previous Message The Hermit Hacker 1998-05-26 15:41:48 Re: [HACKERS] Current sources?