Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 2A9D99FB3AC for ; Wed, 11 Oct 2006 11:13:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 28401-08 for ; Wed, 11 Oct 2006 11:12:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 0716A9FB3A0 for ; Wed, 11 Oct 2006 11:12:48 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9BEChFE022566; Wed, 11 Oct 2006 10:12:43 -0400 (EDT) To: "George Pavlov" cc: pgsql-general@postgresql.org Subject: Re: query log corrupted-looking entries In-reply-to: <8C5B026B51B6854CBE88121DBF097A864DF25D@ehost010-33.exch010.intermedia.net> References: <8C5B026B51B6854CBE88121DBF097A864DF25D@ehost010-33.exch010.intermedia.net> Comments: In-reply-to "George Pavlov" message dated "Tue, 10 Oct 2006 23:44:56 -0700" Date: Wed, 11 Oct 2006 10:12:42 -0400 Message-ID: <22565.1160575962@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.091 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/409 X-Sequence-Number: 101935 "George Pavlov" writes: > after an attempt at stress-testing my app i started seeing some > corrupted-looking entries in the postgresql query log. for example: It looks like you're getting messages interspersed in the log, ie, single messages aren't written indivisibly. This doesn't affect Postgres itself, but of course makes the log harder to read :-( What PG version is this, on what operating system? Do you have redirect_stderr enabled? regards, tom lane