When the Postgres query planner goes rogue

How PlanetScale Database Traffic Control contained a runaway Postgres query after the planner abandoned an index.

Sources