It Works Until It Pools
Row-level security is enforced against a session setting the app writes with SET app.tenant_id at the start of each request. It passes every test, then in production behind a transaction-pooling connection pooler users intermittently see another tenant's rows. What went wrong?
Sign in to answer questions and track your progress
Sign In