logging enhancements, minor code cleanup

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: logging enhancements, minor code cleanup
Date: 2003-08-09 23:22:56
Message-ID: 3F358250.506@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


The attached patch does 3 things:

. logs connection ends if log_connections = true
. provides a new option "log_line_format" which allows addition of extra
information on a log line before the keyword. Currently supported are
user name and database name, but it is easily extensible. The string is
in the flavor of a printf format, where "%U" means user name, "%D" means
database name, "%%" means "%" and anything else means itself, literally.
. minor code cleanup for consistency in calling gettimeofday().

cheers

andrew

Attachment Content-Type Size
log_patch text/plain 14.4 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2003-08-10 20:40:50 Re: logging enhancements, minor code cleanup
Previous Message Tom Lane 2003-08-09 22:51:05 Re: array/polymorphic function doc cleanup