Re: Idle Error invalid byte sequence

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Idle Error invalid byte sequence
Дата
Msg-id 2079.1221771450@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Idle Error invalid byte sequence  (Randall Wilson <rwilson@earthcomber.com>)
Ответы Re: Idle Error invalid byte sequence
Список pgsql-admin
Randall Wilson <rwilson@earthcomber.com> writes:
> Yes, the encoding was changed from SQL_ASCII to UTF-8. Does the fact
> that it's an "Idle" error conform your theory that some client is
> causing the error? I thought the "Idle" error was caused by errors found
> during background processes, like vacuums.

You'd have to tell us what your log_line_prefix is before we could
interpret that, but yeah, an encoding error in an incoming query string
would be reported before the backend could even consider going non-idle.

A SQL_ASCII database would have accepted any data whatsoever.  If you
want to change to something where you actually know the encoding, that's
fine, but realize that you're going to have to make your clients be
honest about what encoding they're using, too.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Carol Walter
Дата:
Сообщение: type unknown?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: type unknown?