Re: [ADMIN] command tag logging - Mailing list pgsql-hackers

From Ray Stell
Subject Re: [ADMIN] command tag logging
Date
Msg-id 20100527172547.GA9472@cns.vt.edu
Whole thread Raw
In response to Re: [ADMIN] command tag logging  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [ADMIN] command tag logging
List pgsql-hackers
On Thu, May 27, 2010 at 12:49:49PM -0400, Tom Lane wrote:
> alvherre <alvherre@commandprompt.com> writes:
> > Excerpts from Ray Stell's message of mié may 26 17:08:33 -0400 2010:
> >> I just installed a compiled from src 8.3.11.  I usually include %i, command tag,
> >> in the log_line_prefix setting.  This causes some spewage I'd not seen before
> >> on connection received lines as if it is dumping the environment:
>
> > Hmm, I bet it's the recent %.*s patch.
>
> That is in the right place, isn't it.  That would suggest that
> get_ps_display() is returning a wrong length on Ray's machine.
> It works okay here, but since that's platform-specific code that
> hardly proves much.  Ray, what platform is this exactly?

I should have included this:

                                               version
-----------------------------------------------------------------------------------------------------
 PostgreSQL 8.3.11 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
(1 row)

[postgres ~]$ uname -a
Linux horntail.cns.vt.edu 2.6.18-194.3.1.el5PAE #1 SMP Sun May 2 04:42:25 EDT 2010 i686 i686 i386 GNU/Linux

[postgres ~]$ cat /etc/issue
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Kernel \r on an \m

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [ADMIN] command tag logging
Next
From: Simon Riggs
Date:
Subject: Re: Keepalive for max_standby_delay