Обсуждение: pgsql: Add a comment to AdjustIntervalForTypmod to reduce chance of fut

Поиск
Список
Период
Сортировка

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

От
Robert Haas
Дата:
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(-)