pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Hill <Thomas.K.Hill@t-online.de>
To: pgsql-jdbc@postgresql.org
Subject: language of error text messages
Date: Tue, 18 Aug 2015 22:33:08 +0200
Message-ID: <55D39684.4060105@t-online.de> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Hi,

I am running my postgreSQL server with german message settings 
(lc_messages=de_DE.UTF-8) on a Debian Linux server with english default 
settings (LANG=en_Us.UTF-8).

Messages returned to pgAdmin are in german - and  I would like them to 
stay in german.

Messages returned when a specific java client program is communicating 
with the server I would however like to be in english so my application 
error log file only contains english text. The java locale for my 
application as such I would like to remain set to german so my menus, 
button labels, etc. are in german.

Is this possible? Is there a (driver) setting which allows the language 
to specified at a level I would need?

I am aware lc_messages could be changes at the server level in server 
confgiguration file. I am also aware that lc_messages can be set at the 
data base level.

If there is no setting, are the localized (JDBC?) message texts 
available to a java app so that I can use the error code to lookup the 
english message text somewhere?

Thanks
Thomas



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (2+ messages)  latest in thread

Message-ID: <55D39684.4060105@t-online.de>
Permalink:  ../55D39684.4060105@t-online.de/
Also on:    postgresql.org/message-id/55D39684.4060105@t-online.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: Thomas.K.Hill@t-online.de
  Subject: Re: language of error text messages
  In-Reply-To: <55D39684.4060105@t-online.de>
  References: <55D39684.4060105@t-online.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox