Haki Benita, on his blog:
How outliers can trick the optimizer into the wrong plan
This blog post is nothing about what I expected it to be:
In this article I describe how using a BRIN index in presumably “ideal circumstances” can result in degraded performance and suggest a recent new feature of PostgreSQL as a remedy.
However, the subtitle sent me down a thought rabbit hole about outliner events making you optimize for the wrong thing. Something I hope to write about in the future.