Re: query log corrupted-looking entries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "George Pavlov" <gpavlov(at)mynewplace(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: query log corrupted-looking entries
Date: 2006-10-16 16:42:00
Message-ID: 22423.1161016920@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"George Pavlov" <gpavlov(at)mynewplace(dot)com> writes:
> And yes, redirect_stderr = on. I have no definitive way of reproducing
> it, just a vague one: "hit the server with lots of queries".

Hmm. If the messages are less than PIPE_BUF bytes long (4096 bytes on
Linux) then the writes are supposed to be atomic. Can you check whether
the interspersal cases involve messages whose total length (all lines)
exceeds 4K?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2006-10-16 17:01:33 Re: [GENERAL] ISO week dates
Previous Message Guillaume Lelarge 2006-10-16 16:41:17 Re: [GENERAL] ISO week dates

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-10-16 16:43:43 Re: Hints proposal
Previous Message Neil Conway 2006-10-16 16:40:44 Re: Postgresql Caching