Running setting plan_cache_mode to force_custom_pl...
# spicedb
j
> Running setting plan_cache_mode to force_custom_plan on each DB connection in the pool seemed to do the trick. Now all queries are running <2ms. This solution feels hacky at the moment, a better one would be to avoid using a prepared statement, but I don't see that pgx package supports this