Re: age() function?

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


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

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