pgsql: Add a comment to AdjustIntervalForTypmod to reduce chance of fut - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Add a comment to AdjustIntervalForTypmod to reduce chance of fut
Date
Msg-id E1RvXji-0002bd-Hw@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: pgsql: Have pg_receivexlog always send an invalid log position in statu
Next
From: Robert Haas
Date:
Subject: pgsql: Improve interval_transform function to detect a few more cases.