pgsql/src backend/utils/adt/timestamp.c test/r ...

Started by Tatsuo Ishiiover 24 years ago1 messagescomitters
Jump to latest
#1Tatsuo Ishii
ishii@postgresql.org

CVSROOT: /cvsroot
Module name: pgsql
Changes by: ishii@postgresql.org 02/03/03 22:55:52

Modified files:
src/backend/utils/adt: timestamp.c
src/test/regress/expected: timestamp.out timestamptz.out

Log message:
Fix bug in extract/date_part for milliseconds/miscroseconds and
timestamp/timestamptz combo. Now extract/date_part returns
seconds*1000 or 1000000 + fraction part as the manual stats.
regression test are also fixed.

See the thread in pgsql-hackers:

Subject: Re: [HACKERS] timestamp_part() bug?
Date: Sat, 02 Mar 2002 11:29:53 +0900