pgsql: Add a comment to AdjustIntervalForTypmod to reduce chance of fut

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a comment to AdjustIntervalForTypmod to reduce chance of fut
Date: 2012-02-09 17:24:46
Message-ID: E1RvXji-0002bd-Hw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add a comment to AdjustIntervalForTypmod to reduce chance of future bugs.

It's not entirely evident how the logic here relates to the
interval_transform function, so let's clue people in that they need to
check that if the rules change.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d429ebe347a5f1404cc3c50234e1c93f8db2bb53

Modified Files
--------------
src/backend/utils/adt/timestamp.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-02-09 17:40:12 pgsql: Attempt to fix MSVC builds and other fls-related breakage.
Previous Message Jaime Casanova 2012-02-09 16:56:17 Re: pgsql: Have pg_receivexlog always send an invalid log position in statu