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

Re: log_min_duration_statement units

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Euler Taveira de Oliveira <euler(at)timbira(dot)com>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: log_min_duration_statement units
Date: 2009-04-07 22:32:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
Alvaro Herrera wrote:
> Bruce Momjian wrote:
> > Euler Taveira de Oliveira wrote:
> > > Bruce Momjian escreveu:
> > > > Oops, here is the patch;  Euler, would you look to see if you can find
> > > > anything else missing;  you seem to be good at that.  :-)
> > > > 
> > > My English is not as good as yours but here is another try. Personally, I 
> > > prefer the second one but...
> > 
> > Great, I used your second version.  I had already done some of the ones
> > you found, but you had many more.  I also used your "0 disables" wording
> > consistently in the file.  Thanks for the help.  Committed.
> Huh ... I thought the units were removed from the descriptions when the
> whole unit thing got introduced in guc.c.  This seems more a regression
> than anything else -- see guc.c rev 1.361.

Which is why I originally did:

	#log_min_duration_statement = -1ms        # -1 is disabled, 0 logs all statements

but people complained so I went with adding it to the description.  The
units are only to document the default if no units are supplied.

  Bruce Momjian  <bruce(at)momjian(dot)us>

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-docs by date

Next:From: Tom LaneDate: 2009-04-07 22:43:59
Subject: Re: log_min_duration_statement units
Previous:From: Alvaro HerreraDate: 2009-04-07 22:29:41
Subject: Re: log_min_duration_statement units

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