Re: Negative value of numGroups - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Negative value of numGroups
Date
Msg-id 721706.1653153353@sss.pgh.pa.us
Whole thread Raw
In response to Re: Negative value of numGroups  (Andrey Lepikhov <a.lepikhov@postgrespro.ru>)
List pgsql-bugs
Andrey Lepikhov <a.lepikhov@postgrespro.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



pgsql-bugs by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Implicitly created operator family not listed by pg_event_trigger_ddl_commands
Next
From: Jeff Janes
Date:
Subject: Re: BUG #17449: Disk space not released