flâneur — a map of the web's best reading

RLS sounds great until it isn't — PlanetScale

planetscale.com · 2,401 words · saved by 1 readers

PostgreSQL's Row Level Security sounds like a clean way to enforce access control at the database layer, but the foot-guns, pooling incompatibilities, and performance traps often make it more trouble than it's worth.

RLS sounds great until it isn't Josh Brown [ @ 0ximjosh ] | April 30, 2026 When you leave your house, go to sleep, or go do work in the yard, you lock your door. Maybe you have a gate or fence you lock too. Without these, anyone can waltz into your house and snoop around. Row Level Security (RLS) can be attractive to developers for numerous reasons, but the foot-guns and gotchas in RLS often outweigh the benefits. You probably want to keep your doors locked. Friends and family: Managing access RLS for Postgres lets administrators define security policies in their database, instead of the appli

Explore this link on the map →

saved by

related reading