AGE function

Поиск
Список
Период
Сортировка
От Louise Catherine
Тема AGE function
Дата
Msg-id 20050907050506.55141.qmail@web33402.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: AGE function  (Michael Fuhr <mike@fuhr.org>)
Re: AGE function  ("A. Kretschmer" <akretschmer@despammed.com>)
Re: AGE function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
When I execute this statement : 
select AGE(TO_DATE('20041101','yyyymmdd'),
TO_DATE('19991201','yyyymmdd'))

at postgre 7.3.3, the result :age                   --------------------- 4 years 11 mons 1 day 

at postgre 8.0.3, the result :age             --------------- 4 years 11 mons 

My question : 
1. How does postgre 7.3.3 calculate AGE function? 
2. Why the result produced by postgre 7.3.3
is different from postgre 8.0.3 ?

Thanks,
Louise

    
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Statistics from Sequences
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: AGE function