]> granicus.if.org Git - postgresql/commit
Fix up "Postgres-style" time interval representation when fields have
authorThomas G. Lockhart <lockhart@fourpalms.org>
Thu, 18 Jan 2001 07:22:43 +0000 (07:22 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Thu, 18 Jan 2001 07:22:43 +0000 (07:22 +0000)
commit6acdebbd3a6e516e26b9d5ff7c51e51802e7345b
treefb6f50e911633a34618a8fdcd5c758ae93046f53
parent6439de1752db399c862f9f440e5ec15ef5243592
Fix up "Postgres-style" time interval representation when fields have
 mixed-signs. Previous effort left way too many minus signs, and was at
 least as broken as the one before that :(
Clean up "ISO-style" time interval representation to omit zero fields if
 there is at least one non-zero field. Supress some leading plus signs
 when not necessary for clarity.
Replace every #ifdef __CYGWIN__ block with a cleaner TIMEZONE_GLOBAL macro
 defined in datetime.h.
src/backend/utils/adt/datetime.c
src/backend/utils/adt/formatting.c
src/backend/utils/adt/nabstime.c
src/backend/utils/adt/timestamp.c
src/include/utils/datetime.h
src/test/regress/expected/interval.out