Re: logging blemishes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: logging blemishes
Date: 2005-09-22 15:33:50
Message-ID: 200509221533.j8MFXoh02536@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > >Are you saying "connection received" should honor %q? It seems it is a
> > >session line, rather than a server line, no?
> > >
> > >
> > >
> >
> > Maybe, the line just struck me as rather ugly. Never mind.
>
> Now that you mention it, the log line for connections does look wrong.
> "[local]" doesn't have remote port numbers like tcp does. The remote
> port is the same number as the server port. I am thinking we should
> suppress the 'port=' output for local connections. We properly suppress
> the port number in parentheses for log_line_prefix='%r'.

Done.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-22 15:38:27 Re: Why does VACUUM FULL bother locking pages?
Previous Message Alvaro Herrera 2005-09-22 15:27:54 Re: Why does VACUUM FULL bother locking pages?