Re: BRIN minmax multi - incorrect distance for infinite timestamp/date

Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>

From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Dean Rasheed <dean.a.rasheed@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-10-20T09:52:31Z
Lists: pgsql-hackers
On Thu, Oct 19, 2023 at 6:11 PM Ashutosh Bapat
<ashutosh.bapat.oss@gmail.com> wrote:
>
> I think we should provide generate_series(date, date, integer) which
> will use date + integer -> date.

Just to be clear, I don't mean that this patch should add it.

-- 
Best Wishes,
Ashutosh Bapat



Commits

  1. Fix minmax-multi distance for extreme interval values

  2. Fix minmax-multi on infinite date/timestamp values

  3. Fix calculation in brin_minmax_multi_distance_date

  4. Fix overflow when calculating timestamp distance in BRIN