LCOV - code coverage report
Current view:
top level
-
src/backend/utils/adt
- timestamp.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18devel
Lines:
1952
2542
76.8 %
Date:
2025-04-03 18:15:34
Functions:
163
189
86.2 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AdjustIntervalForTypmod
65246
AdjustTimestampForTypmod
126918
EncodeSpecialInterval
2048
EncodeSpecialTimestamp
1272
GetCurrentTimestamp
8941510
GetEpochTime
28372
GetSQLCurrentTimestamp
348
GetSQLLocalTimestamp
66
NonFiniteIntervalPart
384
NonFiniteTimestampTzPart
612
SetEpochTimestamp
28366
TimestampDifference
1204926
TimestampDifferenceExceeds
1091470
TimestampDifferenceExceedsSeconds
0
TimestampDifferenceMilliseconds
412414
TimestampTimestampTzRequiresRewrite
18
anytimestamp_typmod_check
724
anytimestamp_typmodin
158
anytimestamp_typmodout
32
clock_timestamp
24
date2isoweek
2424
date2isoyear
14586
date2isoyearday
1524
do_interval_accum
324
do_interval_discard
204
dt2local
121720
dt2time
313450
extract_interval
2088
extract_timestamp
1962
extract_timestamptz
28750
finite_interval_mi
1548
finite_interval_pl
528
float8_timestamptz
54
generate_series_timestamp
684
generate_series_timestamp_support
396
generate_series_timestamptz
62412
generate_series_timestamptz_at_zone
270
generate_series_timestamptz_internal
62682
in_range_interval_interval
1128
in_range_timestamp_interval
2466
in_range_timestamptz_interval
1134
interval2itm
17572
interval_avg
168
interval_avg_accum
408
interval_avg_accum_inv
264
interval_avg_combine
0
interval_avg_deserialize
0
interval_avg_serialize
0
interval_cmp
63950
interval_cmp_internal
134618
interval_cmp_value
276670
interval_div
222
interval_eq
14420
interval_finite
318
interval_ge
5928
interval_gt
11420
interval_hash
2488
interval_hash_extended
60
interval_in
66002
interval_justify_days
2004
interval_justify_hours
8360
interval_justify_interval
66
interval_larger
0
interval_le
6414
interval_lt
31490
interval_mi
1794
interval_mul
11652
interval_ne
108
interval_out
17500
interval_part
288
interval_part_common
2376
interval_pl
558
interval_recv
0
interval_scale
216
interval_send
0
interval_sign
4886
interval_smaller
0
interval_sum
162
interval_support
36
interval_trunc
24
interval_um
3714
interval_um_internal
8040
intervaltypmodin
354
intervaltypmodleastfield
36
intervaltypmodout
0
isoweek2date
36
isoweek2j
1590
isoweekdate2date
24
itm2interval
0
itmin2interval
78522
lookup_timezone
84
makeIntervalAggState
54
make_interval
132
make_timestamp
24
make_timestamp_internal
234
make_timestamptz
12
make_timestamptz_at_timezone
198
mul_d_interval
11430
now
70572
overlaps_timestamp
72
parse_sane_timezone
198
pg_conf_load_time
0
pg_postmaster_start_time
0
statement_timestamp
6
time2t
222272
time_t_to_timestamptz
43262
timeofday
1600
timestamp2timestamptz
234
timestamp2timestamptz_opt_overflow
16140
timestamp2tm
313438
timestamp_age
36
timestamp_at_local
24
timestamp_bin
276
timestamp_cmp
41580
timestamp_cmp_internal
468050
timestamp_cmp_timestamptz
72
timestamp_cmp_timestamptz_internal
15906
timestamp_eq
29026
timestamp_eq_timestamptz
1812
timestamp_finite
0
timestamp_ge
19550
timestamp_ge_timestamptz
3504
timestamp_gt
99620
timestamp_gt_timestamptz
3198
timestamp_hash
6914
timestamp_hash_extended
60
timestamp_in
18216
timestamp_izone
12
timestamp_larger
84
timestamp_le
18932
timestamp_le_timestamptz
3798
timestamp_lt
178930
timestamp_lt_timestamptz
3204
timestamp_mi
6452
timestamp_mi_interval
2172
timestamp_ne
786
timestamp_ne_timestamptz
0
timestamp_out
44492
timestamp_part
8760
timestamp_part_common
10722
timestamp_pl_interval
9782
timestamp_recv
0
timestamp_scale
62172
timestamp_send
0
timestamp_smaller
0
timestamp_sortsupport
494
timestamp_support
24
timestamp_timestamptz
222
timestamp_trunc
1392
timestamp_zone
168
timestamptypmodin
40
timestamptypmodout
16
timestamptz2timestamp
62170
timestamptz_age
36
timestamptz_at_local
24
timestamptz_bin
132
timestamptz_cmp_timestamp
0
timestamptz_eq_timestamp
0
timestamptz_ge_timestamp
6
timestamptz_gt_timestamp
0
timestamptz_hash
0
timestamptz_hash_extended
0
timestamptz_in
41886
timestamptz_izone
12
timestamptz_le_timestamp
0
timestamptz_lt_timestamp
0
timestamptz_mi_interval
1632
timestamptz_mi_interval_at_zone
6
timestamptz_mi_interval_internal
2118
timestamptz_ne_timestamp
96
timestamptz_out
72044
timestamptz_part
8718
timestamptz_part_common
37468
timestamptz_pl_interval
86856
timestamptz_pl_interval_at_zone
6
timestamptz_pl_interval_internal
151990
timestamptz_recv
0
timestamptz_scale
456
timestamptz_send
0
timestamptz_timestamp
62104
timestamptz_to_str
2600
timestamptz_to_time_t
46784
timestamptz_trunc
1260
timestamptz_trunc_internal
1320
timestamptz_trunc_zone
60
timestamptz_zone
234
timestamptztypmodin
118
timestamptztypmodout
16
tm2timestamp
222284
Generated by:
LCOV version 1.14