Re: handling unconvertible error messages
От | Tom Lane |
---|---|
Тема | Re: handling unconvertible error messages |
Дата | |
Msg-id | 31715.1470318130@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: handling unconvertible error messages (Victor Wagner <vitus@wagner.pp.ru>) |
Ответы |
Re: handling unconvertible error messages
Re: handling unconvertible error messages |
Список | pgsql-hackers |
Victor Wagner <vitus@wagner.pp.ru> writes: > If error occurs during processing of StartMessage protocol message, > i.e. client request connection to unexisting database, > ErrorResponse would contain message in the server default locale, > despite of client encoding being specified in the StartMessage. Yeah. 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? regards, tom lane
В списке pgsql-hackers по дате отправления: