Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> I think number of index tuples makes sense, as long as that's what the
> costing needs. That is, it's up to the index AM to define it. But it
> clearly should not flap like this ...
> And it's not just BRIN. This is what I get with a GIN index:
Sounds like the same kind of thing we just fixed for SP-GiST :-(
regards, tom lane