Chris van Eijk: Row-level security in PostgreSQL: where tenants leak

Turning RLS on takes five lines of SQL. These are the five ways it is silently off afterwards, or leaks around the edges — each one measured in PostgreSQL 17.

cloud

Sources