Re: client_lc_messages - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: client_lc_messages
Date
Msg-id 1256274436.12838.9.camel@vanquo.pezone.net
Whole thread Raw
In response to client_lc_messages  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: client_lc_messages
List 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.



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: table corrupted
Next
From: Jeff Davis
Date:
Subject: pre-proposal: type interfaces