Re: "Garbled" postgres logs

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: "Garbled" postgres logs
Дата
Msg-id 4612AC7D.4020400@dunslane.net
обсуждение исходный текст
Ответ на Re: "Garbled" postgres logs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: "Garbled" postgres logs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Note to hackers: would it make sense to use write() instead of
> fprintf() in send_message_to_server_log to avoid any possibility
> of stdio deciding to fragment the message?  Possibly there'd be
> some marginal efficiency gain too.
>   

What about in write_syslogger_file_binary()? Since redirect_stderr is 
set true in the case reported, wont that be what does the writing?

cheers

andrew



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "Garbled" postgres logs
Следующее
От: Brad Nicholson
Дата:
Сообщение: Re: "Garbled" postgres logs