From: Martin A. Brooks <martin@antibodyMX.net>
To: pgsql-bugs@postgresql.org
Subject: BUG #6028: age() function output contracts "months", but not any other units.
Date: Tue, 17 May 2011 14:35:59 GMT
Message-ID: <201105171435.p4HEZxNa071526@wwwmaster.postgresql.org> (raw)
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: martin@antibodyMX.net
Subject: Re: BUG #6028: age() function output contracts "months", but not any other units.
In-Reply-To: <201105171435.p4HEZxNa071526@wwwmaster.postgresql.org>
References: <201105171435.p4HEZxNa071526@wwwmaster.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox