View Single Post

   
  #3 (permalink)  
Old 04-12-2008, 09:09 AM
Andrew Dunstan
 
Posts: n/a
Default Re: "Garbled" postgres logs

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


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote