Fix bug in extract/date_part for milliseconds/miscroseconds and
Tatsuo Ishii <ishii@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/timestamp.c | modified | +5 −5 |
| src/test/regress/expected/timestamp.out | modified | +56 −56 |
| src/test/regress/expected/timestamptz.out | modified | +56 −56 |