Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 16C226336A1 for ; Tue, 7 Apr 2009 19:47:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 57606-01 for ; Tue, 7 Apr 2009 19:47:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 1D9C863280E for ; Tue, 7 Apr 2009 19:47:50 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id n37Mlfh25381; Tue, 7 Apr 2009 18:47:41 -0400 (EDT) From: Bruce Momjian Message-Id: <200904072247.n37Mlfh25381@momjian.us> Subject: Re: log_min_duration_statement units In-Reply-To: <23945.1239144239@sss.pgh.pa.us> To: Tom Lane Date: Tue, 7 Apr 2009 18:47:41 -0400 (EDT) CC: Euler Taveira de Oliveira , PostgreSQL-documentation X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/24 X-Sequence-Number: 5112 Tom Lane wrote: > Bruce Momjian 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 http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +