Re: nls and server log

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: nls and server log
Дата
Msg-id 54A2027C.7070708@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: nls and server log  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: nls and server log  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
On 12/30/2014 06:39 AM, Jim Nasby wrote:
>>
> 
> How much of this issue is caused by trying to machine-parse log files?
> Is a better option to improve that case, possibly doing something like
> including a field in each line that tells you the encoding for that entry?

That'd be absolutely ghastly. You couldn't just view the logs with
'less' or a text editor if your logs had mixed encodings, you'd need
some kind of special PostgreSQL log viewer tool.

Why would we possibly do that when we could just emit utf-8 instead?

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: CATUPDATE confusion?
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Detecting backend failures via libpq / DBD::Pg