Skip site navigation (1) Skip section navigation (2)

Re: fix log_min_duration_statement logic error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>,Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: fix log_min_duration_statement logic error
Date: 2003-09-22 16:34:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Neil Conway <neilc(at)samurai(dot)com> writes:
> I also don't particularly like the format of the log message (for one
> thing, the "duration_statement" prefix in the log message shouldn't
> include an underscore, it's not a variable or anything -- and the case
> can be made that if we printed the duration because log_duration is set,
> we don't need to print it again if the duration of the query exceeded
> log_min_duration_statement), but I haven't changed it.

I think there should be just one "duration: nnn" log entry, printed if
either condition holds.

			regards, tom lane

In response to


pgsql-patches by date

Next:From: Andrew DunstanDate: 2003-09-22 16:49:42
Subject: Re: fix log_min_duration_statement logic error
Previous:From: Neil ConwayDate: 2003-09-22 16:20:22
Subject: fix log_min_duration_statement logic error

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group