Skip site navigation (1) Skip section navigation (2)

Re: "Garbled" postgres logs

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tim Goodaire <tgoodair(at)ca(dot)afilias(dot)info>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: "Garbled" postgres logs
Date: 2007-04-03 19:35:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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?



In response to


pgsql-hackers by date

Next:From: Brad NicholsonDate: 2007-04-03 19:47:02
Subject: Re: "Garbled" postgres logs
Previous:From: Tom LaneDate: 2007-04-03 19:02:56
Subject: Re: "Garbled" postgres logs

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group