From 8a5496d87b77d6d876614fdb948daba8f0ba58a4 Mon Sep 17 00:00:00 2001 From: xxhZs <1060434431@qq.com> Date: Mon, 30 Dec 2024 16:16:58 +0800 Subject: [PATCH] fix ci --- src/tests/regress/data/expected/time.out | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests/regress/data/expected/time.out b/src/tests/regress/data/expected/time.out index 58638793a5e9a..d2b36015a4bf0 100644 --- a/src/tests/regress/data/expected/time.out +++ b/src/tests/regress/data/expected/time.out @@ -136,6 +136,10 @@ DROP TABLE TIME_TBL; -- -- test EXTRACT -- +--@ postgresql's EXTRACT function only support microsecond +--@ SELECT EXTRACT(MICROSECOND FROM TIME '13:30:25.575401123'); +--@ SELECT EXTRACT(MILLISECOND FROM TIME '13:30:25.575401123'); +--@ SELECT EXTRACT(SECOND FROM TIME '13:30:25.575401123'); SELECT EXTRACT(MINUTE FROM TIME '13:30:25.575401'); extract --------- @@ -155,6 +159,7 @@ ERROR: "time" units "fortnight" not recognized SELECT EXTRACT(TIMEZONE FROM TIME '13:30:25.575401'); -- error ERROR: "time" units "timezone" not recognized +--@ SELECT EXTRACT(EPOCH FROM TIME '13:30:25.575401123'); -- date_part implementation is mostly the same as extract, so only -- test a few cases for additional coverage. SELECT date_part('microsecond', TIME '13:30:25.575401');