Skip to content

Commit 8a5496d

Browse files
committed
fix ci
1 parent 12fb1f0 commit 8a5496d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tests/regress/data/expected/time.out

+5
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ DROP TABLE TIME_TBL;
136136
--
137137
-- test EXTRACT
138138
--
139+
--@ postgresql's EXTRACT function only support microsecond
140+
--@ SELECT EXTRACT(MICROSECOND FROM TIME '13:30:25.575401123');
141+
--@ SELECT EXTRACT(MILLISECOND FROM TIME '13:30:25.575401123');
142+
--@ SELECT EXTRACT(SECOND FROM TIME '13:30:25.575401123');
139143
SELECT EXTRACT(MINUTE FROM TIME '13:30:25.575401');
140144
extract
141145
---------
@@ -155,6 +159,7 @@ ERROR: "time" units "fortnight" not recognized
155159
SELECT EXTRACT(TIMEZONE FROM TIME '13:30:25.575401'); -- error
156160
ERROR: "time" units "timezone" not recognized
157161

162+
--@ SELECT EXTRACT(EPOCH FROM TIME '13:30:25.575401123');
158163
-- date_part implementation is mostly the same as extract, so only
159164
-- test a few cases for additional coverage.
160165
SELECT date_part('microsecond', TIME '13:30:25.575401');

0 commit comments

Comments
 (0)