]> git.ipfire.org Git - thirdparty/postgresql.git/commit
A backport patch:
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 5 Mar 2002 03:45:44 +0000 (03:45 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 5 Mar 2002 03:45:44 +0000 (03:45 +0000)
commit06b3be1e48570d7e66c2509412d0192274155766
treea8cb8f309473c52981bfbfe2de937a2991385ec1
parentee93155748ef86dc77d592eff10aefabfe8639d6
A backport patch:

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
src/backend/utils/adt/timestamp.c
src/test/regress/expected/timestamp.out
src/test/regress/expected/timestamptz.out