Re: age() function?

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: age() function?
Дата
Msg-id 20020118143857E.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: age() function?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > 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.

Oh I see. Probably that's the reason why the standard does not allow
month-and-day-mixed interval.
--
Tatsuo Ishii


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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: tuptoaster.c must *not* use SnapshotAny
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: tuptoaster.c must *not* use SnapshotAny