pgsql: Remove justify_hours call from interval_mul and interval_div, and - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Remove justify_hours call from interval_mul and interval_div, and
Date
Msg-id 20051025171307.CED29DAE54@svr1.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Small grammar correction.
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Convert explanation of interval change into something resembling