pgsql: Remove justify_hours call from interval_mul and interval_div, and

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Remove justify_hours call from interval_mul and interval_div, and
Дата
Msg-id 20051025171307.CED29DAE54@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Remove justify_hours call from interval_mul and interval_div, and make
some small stylistic improvements in these functions.  Also fix several
places where TMODULO() was being used with wrong-sized quotient argument,
creating a risk of overflow --- interval2tm was actually capable of going
into an infinite loop because of this.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        timestamp.c (r1.155 -> r1.156)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c.diff?r1=1.155&r2=1.156)
    pgsql/src/test/regress/expected:
        interval.out (r1.13 -> r1.14)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/interval.out.diff?r1=1.13&r2=1.14)

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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Small grammar correction.
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Convert explanation of interval change into something resembling