Hi, On 2022-04-02 17:02:01 +0200, Alvaro Herrera wrote: > There's no bug here and this is actually intentional: if the map is > NULL, this function should not be called.
This made me, again, wonder if we should add a pg_nonnull attibute to c.h. The compiler can probably figure it out in this case, but there's plenty cases it can't, because the function definition is in a different translation unit. And IMO it helps humans too. Regards, Andres