BUG #6028: age() function output contracts "months", but not any other units.

From: "Martin A(dot) Brooks" <martin(at)antibodyMX(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6028: age() function output contracts "months", but not any other units.
Date: 2011-05-17 14:35:59
Message-ID: 201105171435.p4HEZxNa071526@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6028
Logged by: Martin A. Brooks
Email address: martin(at)antibodyMX(dot)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/

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message amine.fatam 2011-05-17 16:00:08
Previous Message dhaval 2011-05-17 14:30:37 BUG #6027: OLE DB Provider not available