Re: handling unconvertible error messages - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: handling unconvertible error messages
Date
Msg-id f3e0dfac-f4ee-2011-1d04-53c1ddbc9c2b@2ndquadrant.com
Whole thread Raw
In response to Re: handling unconvertible error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: handling unconvertible error messages  (Victor Wagner <vitus@wagner.pp.ru>)
List pgsql-hackers
On 8/4/16 9:42 AM, Tom Lane wrote:
> I'm inclined to think that we should reset the message locale
> to C as soon as we've forked away from the postmaster, and leave it
> that way until we've absorbed settings from the startup packet.
> Sending messages of this sort in English isn't great, but it's better
> than sending completely-unreadable ones.  Or is that just my
> English-centricity showing?

Well, most of the time this all works, only if there are different
client and server settings you might have problems.  We wouldn't want to
partially disable the NLS feature for the normal case.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Logical Replication WIP
Next
From: Peter Eisentraut
Date:
Subject: Re: improved DefElem list processing