Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id C37A8B5DBD4 for ; Tue, 17 May 2011 11:36:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 47350-02 for ; Tue, 17 May 2011 14:36:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id E97ACB5D802 for ; Tue, 17 May 2011 11:35:59 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p4HEZxs3071527 for ; Tue, 17 May 2011 14:35:59 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p4HEZxNa071526; Tue, 17 May 2011 14:35:59 GMT (envelope-from www) Date: Tue, 17 May 2011 14:35:59 GMT Message-Id: <201105171435.p4HEZxNa071526@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6028: age() function output contracts "months", but not any other units. From: "Martin A. Brooks" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201105/131 X-Sequence-Number: 30270 The following bug has been logged online: Bug reference: 6028 Logged by: Martin A. Brooks Email address: martin@antibodyMX.net PostgreSQL version: 9.0.4 Operating system: Debian/GNU Linux 6 Description: age() function output contracts "months", but not any other units. Details: Hi postgres=# select age(now(),'1973-12-20'::timestamp); age ----------------------------------------- 37 years 4 mons 28 days 15:33:49.041831 (1 row) Note "mons" and not "months". And if "mons", why not "yrs" and "dys"? Regards Martin A. Brooks http://antibodyMX.net/