Re: client_lc_messages

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: client_lc_messages
Date: 2009-10-23 05:07:16
Message-ID: 1256274436.12838.9.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On tor, 2009-10-22 at 10:59 -0300, Alvaro Herrera wrote:
> What I am wondering right now is whether we could have two separate
> attributes, one SUSET defining what goes to the log, and another one
> USERSET defining what's sent to the client.

Note that only glibc supports switching the language at run time. And
doing it is probably very expensive if you want to do it twice per
message.

I think you could probably get much of the use case out of this if you
concentrate on making two switches for the client and the log, which can
be set to a language or "untranslated", and if you choose a language it
has to be the same for both.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2009-10-23 05:17:33 pre-proposal: type interfaces
Previous Message Robert Haas 2009-10-23 04:09:52 Re: table corrupted