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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: scrappy(at)hub(dot)org (The Hermit Hacker)
Cc: vadim(at)krs(dot)ru, 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:13:39
Message-ID: 199805261613.MAA13290@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> Hrmmm...one thing to note with any of this is that by 'hardcoding'
> in the errormsg itself, it makes it difficult to 'internationalize' a
> program...in that I can't run a single server on my machine that can
> easily deal with a 'French' customer vs an 'English' one, vs a 'Japanese'
> one...I'd have to recompile for each.

Oops, postmaster can't access any database tables, so each backend
would have to load it. I would recommend dumping the default out with
COPY as part of initdb, let the postmaster load that file, and backends
can load their own. In fact, we may just keep them as COPY files, so
they can be easily edited and loaded/unloaded.

>
> Vadim's other point, about putting this in the front end vs the
> backend, I think, is more appropriate, that way it is application specific
> vs server...

--
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 Vadim Mikheev 1998-05-26 16:16:49 Re: [GENERAL] RE: [HACKERS] error messages not only English
Previous Message Bruce Momjian 1998-05-26 16:11:48 Re: [GENERAL] RE: [HACKERS] error messages not only English

Browse pgsql-hackers by date

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