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 Details ------- https://git.postgresql.org/pg/commitdiff/95ab1e0a9db321dd796344d526457016eada027f 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(-)
