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

Поиск
Список
Период
Сортировка
От Martin A. Brooks
Тема BUG #6028: age() function output contracts "months", but not any other units.
Дата
Msg-id 201105171435.p4HEZxNa071526@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #6028: age() function output contracts "months", but not any other units.
Список pgsql-bugs
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/

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alex Hunsaker
Дата:
Сообщение: Re: Plperl trigger variables no longer global
Следующее
От: "dhaval"
Дата:
Сообщение: BUG #6027: OLE DB Provider not available