-
- Downloads
Fix (hopefully for the last time) problems with datetime values displaying
like '23:59:60' because of fractional-second roundoff problems. Trying to control this upstream of the actual display code was hopeless; the right way is to explicitly round fractional seconds in the display code and then refigure the results if the fraction rounds up to 1. Per bug #1927.
Showing
- contrib/btree_gist/btree_ts.c 0 additions, 2 deletionscontrib/btree_gist/btree_ts.c
- src/backend/utils/adt/date.c 17 additions, 1 deletionsrc/backend/utils/adt/date.c
- src/backend/utils/adt/datetime.c 4 additions, 4 deletionssrc/backend/utils/adt/datetime.c
- src/backend/utils/adt/timestamp.c 43 additions, 25 deletionssrc/backend/utils/adt/timestamp.c
- src/include/utils/date.h 5 additions, 1 deletionsrc/include/utils/date.h
- src/include/utils/timestamp.h 6 additions, 3 deletionssrc/include/utils/timestamp.h
- src/interfaces/ecpg/pgtypeslib/dt.h 5 additions, 2 deletionssrc/interfaces/ecpg/pgtypeslib/dt.h
- src/interfaces/ecpg/pgtypeslib/dt_common.c 1 addition, 2 deletionssrc/interfaces/ecpg/pgtypeslib/dt_common.c
- src/interfaces/ecpg/pgtypeslib/interval.c 9 additions, 2 deletionssrc/interfaces/ecpg/pgtypeslib/interval.c
- src/interfaces/ecpg/pgtypeslib/timestamp.c 35 additions, 14 deletionssrc/interfaces/ecpg/pgtypeslib/timestamp.c
Loading
Please register or sign in to comment