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

Re: log_min_duration_statement units

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:47:41
Message-ID: 200904072247.n37Mlfh25381@momjian.us (view raw or flat)
Thread:
Lists: pgsql-docs
Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Euler Taveira de Oliveira wrote:
> >> 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.
> 
> You know, it suddenly strikes me that this is going in largely the wrong
> direction.  Wasn't a key part of the reasoning for the GUC units support
> to *eliminate* the need for people to know what the underlying
> variable's unit is?  I certainly think that putting the unit info into
> the text descriptions is a seriously bad idea.  It makes an already
> overly wide view even wider, and the information is 100% redundant with
> the "unit" column of the pg_settings view.

Right, the problem particularly is with the -1/special values that don't
have a real unit.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

In response to

Responses

pgsql-docs by date

Next:From: Tom LaneDate: 2009-04-07 22:51:47
Subject: Re: log_min_duration_statement units
Previous:From: Tom LaneDate: 2009-04-07 22:43:59
Subject: Re: log_min_duration_statement units

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