Re: Covering the comparison between date and timestamp, tz, type

From: Rustam ALLAKOV <rustamallakov(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Kwangwon Seo <anchovyseo(at)gmail(dot)com>
Subject: Re: Covering the comparison between date and timestamp, tz, type
Date: 2025-05-24 04:33:06
Message-ID: 174806118695.992.5221102166468023359.pgcf@coridan.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The following review has been posted through the commitfest application:
make installcheck-world: tested, passed
Implements feature: tested, passed
Spec compliant: tested, passed
Documentation: tested, passed

Hi Kwangwon,
I have reviewed your patch.

Funtions you mention are located at src/backend/utils/adt/date.c
I tested and generated coverage report at fb844b9f06568
lines hit: 888 total: 1209 Coverage: 73.4 %

applied your patch, tested and generated report again
lines hit: 960 total: 1209 Coverage: 79.4 %

all the functions listed are now covered

date_eq_timestamp // covered
date_ne_timestamp // covered
date_lt_timestamp // covered
date_gt_timestamp // already covered
date_le_timestamp // covered
date_ge_timestamp // covered

date_eq_timestamptz // covered
date_ne_timestamptz // covered
date_lt_timestamptz // already covered
date_gt_timestamptz // already covered
date_le_timestamptz // covered
date_ge_timestamptz // covered

timestamp_eq_date // covered
timestamp_ne_date // covered
timestamp_lt_date // covered
timestamp_gt_date // already covered
timestamp_le_date // covered
timestamp_ge_date // covered

timestamptz_eq_date // covered
timestamptz_ne_date // covered
timestamptz_lt_date // covered
timestamptz_gt_date // already covered
timestamptz_le_date // covered
timestamptz_ge_date // already covered

Thank you for the patch, your patch looks good to me!
Regards
Rustam

The new status of this patch is: Ready for Committer

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2025-05-24 04:34:25 Re: Conflict detection for update_deleted in logical replication
Previous Message Tom Lane 2025-05-24 03:17:12 Re: Non-reproducible AIO failure