From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: interval: round values when spilling to months |
Date: | 2021-08-03 16:10:59 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
interval: round values when spilling to months
Previously spilled units greater than months were truncated to months.
Also document the spill behavior.
Reported-by: Bryn Llewelly
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: master
Branch
------
master
Modified Files
--------------
doc/src/sgml/datatype.sgml | 25 ++++++++++++++-----------
src/backend/utils/adt/datetime.c | 16 ++++++----------
src/interfaces/ecpg/pgtypeslib/interval.c | 16 ++++++----------
3 files changed, 26 insertions(+), 31 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2021-08-03 16:18:33 | pgsql: doc: interval spill method for units greater than months |
Previous Message | Bruce Momjian | 2021-08-03 15:58:50 | pgsql: pg_upgrade: warn about extensions that need updating |