Engineering
Postgres at the multi-tenant edge
NE NordGryd Engineering
ยท08 Apr 2026
ยท17 min read
How we enforce tenant isolation at every query without trusting any single developer to remember.
Multi-tenant data isolation cannot depend on every developer remembering to add a WHERE clause. One forgotten filter is a data leak.
So isolation is enforced by a query layer that refuses to run against tenant-owned tables unless the tenant scope is present. The guarantee is structural, not cultural.
It is the kind of constraint that feels heavy on day one and saves you on every day after.
Field-tested notes on running infrastructure, monthly. No hype.