LCOV - code coverage report
Current view: top level - src/backend/utils/adt - timestamp.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1942 2529 76.8 %
Date: 2024-11-21 16:14:51 Functions: 163 188 86.7 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdjustIntervalForTypmod 11064
AdjustTimestampForTypmod 125138
EncodeSpecialInterval 2024
EncodeSpecialTimestamp 1248
GetCurrentTimestamp 7896884
GetEpochTime 28372
GetSQLCurrentTimestamp 288
GetSQLLocalTimestamp 66
NonFiniteIntervalPart 384
NonFiniteTimestampTzPart 612
SetEpochTimestamp 28366
TimestampDifference 1042516
TimestampDifferenceExceeds 990798
TimestampDifferenceMilliseconds 208090
TimestampTimestampTzRequiresRewrite 18
anytimestamp_typmod_check 656
anytimestamp_typmodin 144
anytimestamp_typmodout 20
clock_timestamp 24
date2isoweek 2424
date2isoyear 14586
date2isoyearday 1524
do_interval_accum 324
do_interval_discard 204
dt2local 67296
dt2time 254494
extract_interval 2088
extract_timestamp 1962
extract_timestamptz 28666
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 15604
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 54616
interval_cmp_internal 123284
interval_cmp_value 253788
interval_div 222
interval_eq 15958
interval_finite 306
interval_ge 5884
interval_gt 9948
interval_hash 2274
interval_hash_extended 60
interval_in 11820
interval_justify_days 2004
interval_justify_hours 7968
interval_justify_interval 66
interval_larger 0
interval_le 6358
interval_lt 29524
interval_mi 1794
interval_mul 11652
interval_ne 108
interval_out 15508
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 12
interval_um 3714
interval_um_internal 8040
intervaltypmodin 354
intervaltypmodleastfield 36
intervaltypmodout 0
isoweek2date 36
isoweek2j 1590
isoweekdate2date 24
itm2interval 0
itmin2interval 22968
lookup_timezone 78
makeIntervalAggState 54
make_interval 132
make_timestamp 24
make_timestamp_internal 228
make_timestamptz 12
make_timestamptz_at_timezone 192
mul_d_interval 11430
now 70518
overlaps_timestamp 72
parse_sane_timezone 192
pg_conf_load_time 0
pg_postmaster_start_time 0
statement_timestamp 6
time2t 167058
time_t_to_timestamptz 43668
timeofday 1600
timestamp2timestamptz 234
timestamp2timestamptz_opt_overflow 16140
timestamp2tm 254482
timestamp_age 36
timestamp_at_local 24
timestamp_bin 276
timestamp_cmp 34888
timestamp_cmp_internal 405592
timestamp_cmp_timestamptz 72
timestamp_cmp_timestamptz_internal 15906
timestamp_eq 30502
timestamp_eq_timestamptz 1812
timestamp_finite 0
timestamp_ge 18580
timestamp_ge_timestamptz 3504
timestamp_gt 98544
timestamp_gt_timestamptz 3198
timestamp_hash 6486
timestamp_hash_extended 60
timestamp_in 17398
timestamp_izone 12
timestamp_larger 84
timestamp_le 18508
timestamp_le_timestamptz 3798
timestamp_lt 124158
timestamp_lt_timestamptz 3204
timestamp_mi 6060
timestamp_mi_interval 2172
timestamp_ne 786
timestamp_ne_timestamptz 0
timestamp_out 41970
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 456
timestamp_support 24
timestamp_timestamptz 222
timestamp_trunc 1386
timestamp_zone 168
timestamptypmodin 36
timestamptypmodout 10
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 41014
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 69538
timestamptz_part 8718
timestamptz_part_common 37384
timestamptz_pl_interval 33336
timestamptz_pl_interval_at_zone 6
timestamptz_pl_interval_internal 98470
timestamptz_recv 0
timestamptz_scale 456
timestamptz_send 0
timestamptz_timestamp 62104
timestamptz_to_str 2558
timestamptz_to_time_t 38840
timestamptz_trunc 1254
timestamptz_trunc_internal 1308
timestamptz_trunc_zone 54
timestamptz_zone 222
timestamptztypmodin 108
timestamptztypmodout 10
tm2timestamp 167070

Generated by: LCOV version 1.14