Re: handling unconvertible error messages
От | Peter Eisentraut |
---|---|
Тема | Re: handling unconvertible error messages |
Дата | |
Msg-id | 1bf47ff7-ef22-4ac4-1c49-61adfc9505d3@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: handling unconvertible error messages (Victor Wagner <vitus@wagner.pp.ru>) |
Ответы |
Re: handling unconvertible error messages
|
Список | pgsql-hackers |
On 8/4/16 2:45 AM, Victor Wagner wrote: > 4. At the session startup try to reinitializie LC_MESSAGES locale > category with the combination > of the server (or better client-send) language and region and > client-supplied encoding, and if this failed, use untranslated error > message. Obvoisly, attempt to set locale to ru_RU.ISO8859-1 would fail. > so, if client would ask server with ru_RU.UTF-8 default locale to use > LATIN1 encoding, server would fallback to untranslated messages. I think this is basically my solution (1), with the same problems. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: