From: Ed L. <pgsql@bluepolka.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: George Pavlov <gpavlov@mynewplace.com>
Cc: pgsql-general@postgresql.org
Subject: Re: query log corrupted-looking entries
Date: Fri, 1 Jun 2007 16:03:21 -0600
Message-ID: <200706011603.21322.pgsql@bluepolka.net> (raw)
In-Reply-To: <24195.1180733773@sss.pgh.pa.us>
References: <29860.1161202644@sss.pgh.pa.us>
<8C5B026B51B6854CBE88121DBF097A86CDD9A4@ehost010-33.exch010.intermedia.net>
<24195.1180733773@sss.pgh.pa.us>
On Friday 01 June 2007 3:36 pm, Tom Lane wrote:
> "George Pavlov" <gpavlov@mynewplace.com> writes:
> > On 5/29/2007 10:19 AM, Ed L. wrote:
> >> FWIW, I've also been seeing this sort of query log
> >> corruption for as long as I can remember, 7.1 through 8.2,
> >> HPUX (parisc, ia64), Linux on intel, amd...
>
> What *exactly* is the logging setup you guys use, and have you
> tried alternatives?
>
> As best I can tell, the variant with a downstream syslogger
> process ought to be OK for messages up to PIPEBUF bytes long
> on most standard Unixen. Of course that's no help if you've
> got lots of very verbose queries, but the examples posted so
> far didn't seem to indicate that.
On older versions, we use stderr piped to Apache's rotatelogs.
On newer versions with built-in logging, we use it. We do have
considerably verbose queries (sometimes a page or so). No idea
what PIPEBUF equals.
Ed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: pgsql@bluepolka.net, tgl@sss.pgh.pa.us, gpavlov@mynewplace.com, pgsql-general@postgresql.org
Subject: Re: query log corrupted-looking entries
In-Reply-To: <200706011603.21322.pgsql@bluepolka.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox