Re: BUG #17066: Cache lookup failed when null (unknown) is passed as anycompatiblemultirange

Neil Chen <carpenter.nail.cz@gmail.com>

From: Neil Chen <carpenter.nail.cz@gmail.com>
To: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org, alvherre@2ndquadrant.com
Date: 2021-06-22T07:52:52Z
Lists: pgsql-bugs

Attachments

Greetings,

I tried to investigate the bug, but the complicated logic here completely
messed up my mind...

Anyway, this patch can fix it and make the regress test happy. But I think
it's better to get the author's advice - I copied this email to Alvaro,
hope it doesn't offend him...


-- 
There is no royal road to learning.
HighGo Software Co.

Commits

  1. Fix bugs in polymorphic-argument resolution for multiranges.

  2. Fixes for multirange selectivity estimation