Chris van Eijk: Row-level security performance in PostgreSQL, measured

What an RLS policy costs in PostgreSQL 17: function volatility, the (select …) wrapper, membership subqueries and the leakproof rule that disables your index.

cloud

Sources