Performance

Making slow queries and code fast again.

Postgres SET Clause Stops SQL Function Inlining

A SET search_path line on a SQL function stopped Postgres from inlining it, and a fast search turned into a sequential scan.

postgres performance gotchas