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: scrappy@hub.org (The Hermit Hacker)
Cc: vadim@krs.ru, peter@maidstone.gov.uk, sferac@bo.nettuno.it, pgsql-hackers@postgreSQL.org
Date: 1998-05-26T16:11:48Z
Lists: pgsql-hackers, pgsql-general
> 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. > > 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... They could be over-ridden by any postgres backend. I would recommend the postmaster loading in the default, and any backend can change it. Have to get the exec() removed first. -- 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)