Re: Negative value of numGroups

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrey Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Negative value of numGroups
Date: 2022-05-21 17:15:53
Message-ID: 721706.1653153353@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andrey Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru> writes:
> Next version of the patch.
> As I see, now we trying to use Cardinality type instead of double.
> So, I named casting routine as clamp_cardinality_to_long.

Pushed with a bit of rewriting of comments etc. I left out the
test case too, because (a) for me, it did not reveal any difference
between patched and unpatched code, and (b) even if it had, it was
far too expensive to put into the core regression tests.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Janes 2022-05-21 18:12:44 Re: BUG #17449: Disk space not released
Previous Message Masahiko Sawada 2022-05-21 04:27:08 Re: Implicitly created operator family not listed by pg_event_trigger_ddl_commands