Re: syslogger line-end processing infelicity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: syslogger line-end processing infelicity
Дата
Msg-id 24146.1180733611@sss.pgh.pa.us
обсуждение исходный текст
Ответ на syslogger line-end processing infelicity  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: syslogger line-end processing infelicity  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I have been looking at the syslogger code in connection with the CSV log 
> output proposal, and I'm quite concerned about the way it translates 
> every \n into \r\n for Windows output.
> ...
> My second thought is that we should quite possibly abandon this 
> translation altogether

+1 on that.  The problem of ensuring atomic output remains though
(see nearby complaints from George Pavlov and others).  It's bad enough
in the existing logging context, but if we're hoping to make
easily-machine-readable logs it's a "must fix".
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Upcoming events
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: syslogger line-end processing infelicity