Re: age() function?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: age() function?
Дата
Msg-id 200201180554.g0I5s9R23085@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: age() function?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > How come 10 mons == 9 mons 30 days?
> 
> Because for purposes of comparisons, type interval assumes 1 month
> == 30 days (cf. interval_cmp_internal).  Pretty grotty, I agree,
> but it's not easy to see how to do better.

I guess if we knew the month we could do better.  :-)

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: tuptoaster.c must *not* use SnapshotAny
Следующее
От: Joe Conway
Дата:
Сообщение: Re: tuptoaster.c must *not* use SnapshotAny