Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3DE6FB5DBEC for ; Mon, 23 May 2011 16:11:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 48055-02 for ; Mon, 23 May 2011 19:11:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from olga.hinterlands.org (olga.hinterlands.org [212.13.195.161]) by mail.postgresql.org (Postfix) with ESMTP id 2B7A1B5DBE8 for ; Mon, 23 May 2011 16:11:01 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=olga.hinterlands.org) by olga.hinterlands.org with esmtp (Exim 4.72) (envelope-from ) id 1QOa6t-0003zU-P3; Mon, 23 May 2011 19:44:12 +0100 Received: from 82.69.6.203 (SquirrelMail authenticated user martin) by olga.hinterlands.org with HTTP; Mon, 23 May 2011 19:44:11 +0100 Message-ID: <4336256f535c68511d989d97e43c2b22.squirrel@olga.hinterlands.org> In-Reply-To: <15605.1306173724@sss.pgh.pa.us> References: <201105171435.p4HEZxNa071526@wwwmaster.postgresql.org> <201105181940.p4IJeiu23136@momjian.us> <15605.1306173724@sss.pgh.pa.us> Date: Mon, 23 May 2011 19:44:11 +0100 Subject: Re: BUG #6028: age() function output contracts "months", but not any other units. From: "Martin A. Brooks" To: "Tom Lane" Cc: "Robert Haas" , "Bruce Momjian" , "Martin A. Brooks" , pgsql-bugs@postgresql.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/166 X-Sequence-Number: 30305 On Mon, May 23, 2011 19:02, Tom Lane wrote: > Robert Haas writes: >> On Wed, May 18, 2011 at 3:40 PM, Bruce Momjian wrote: >>> Does anyone feel this is worth changing?  I am concerned such a change >>> would break many user applications. > >> The backward compatibility problem is pretty icky, but I don't much >> like the idea of leaving it as-is, either. > > ISTM that changing interval's output formatting would create far too > many problems to be justifiable for such a purely cosmetic issue. I almost entirely agree with you except.... My current $dayjob is working in an industry where details and aesthetics are everything. We will spend thousands of hours of processor time just to make sure than the sheen on an animal's fur will suggest "healthy and luxuriant" rather than "warm and moist". It's about artistic polish. If people are agreeing that this is not the intended, desrired or specified output for this function, then make with the polish. It isn't the first, and won't be the last, time that something has potentially broken compatibility in postgres. EUR0.02 Regards Martin.