pgsql: Properly adjust age() seconds to match the sign of the larger

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Properly adjust age() seconds to match the sign of the larger
Date: 2007-07-18 03:13:13
Message-ID: 20070718031313.AB9A99FB473@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Properly adjust age() seconds to match the sign of the larger units.
Patch from Tom.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
timestamp.c (r1.179 -> r1.180)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c.diff?r1=1.179&r2=1.180)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-07-18 03:39:01 pgsql: Document that 'deleted' is also tracked by autovacuum.
Previous Message Bruce Momjian 2007-07-18 03:12:43 pgsql: Document that age() adds days, then full months.