From: | Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> |
---|---|
To: | Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> |
Cc: | jian he <jian(dot)universality(at)gmail(dot)com>, Joseph Koshakow <koshy44(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Gregory Stark (as CFM)" <stark(dot)cfm(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Infinite Interval |
Date: | 2023-11-06 17:08:56 |
Message-ID: | CAEZATCXoUKHkcuq4q63hkiPsKZJd0kZWzgKtU+NT0aU4wbf_Pw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, 30 Oct 2023 at 10:01, Ashutosh Bapat
<ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> wrote:
>
> Thanks. I went through the whole patch again and am quite fine with it.
>
> Here's my version of commit message
>
Going over this again, I noticed a pre-existing integer overflow
problem in interval_time(), which patch 0001 attached fixes.
I squashed the other 2 patches (main patch + new BRIN tests) together
into 0002, and did another copy-editing pass over it. I found one
other issue, which is that overflow checking in interval_um() had gone
missing, and there didn't seem to be any regression test coverage for
that, so I added some.
I also changed the error message in interval_time to "cannot convert
infinite interval to time", which is slightly more informative, and
more consistent with the nearby error messages in time_pl_interval()
and time_mi_interval().
Finally, I rewrote the commit message in slightly higher-level terms,
but that's really up to the committer to decide on.
I'm marking this as ready-for-committer. I'll probably pick it up
myself in a few days, unless another committer claims it first.
Regards,
Dean
Attachment | Content-Type | Size |
---|---|---|
v29-0001-Avoid-integer-overflow-hazard-in-interval_time.patch | text/x-patch | 2.7 KB |
v29-0002-Support-infinity-in-the-interval-data-type.patch | text/x-patch | 163.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tristan Partin | 2023-11-06 17:16:34 | Re: psql not responding to SIGINT upon db reconnection |
Previous Message | Tomas Vondra | 2023-11-06 17:05:56 | Re: PoC: prefetching index leaf pages (for inserts) |