KSkiran sabneinkiransabne.dev·17h ago · 3 min readPostgreSQL Nested Loop: When Is It Actually a Problem?PROBLEM A Nested Loop join runs its inner side once per row on the outer side. That's the cheapest possible join when the outer side is small — and a real cost multiplier once it isn't. The operator i10
KSkiran sabneinkiransabne.dev·21h ago · 6 min readPostgreSQL Index Bloat: Why It Happens and How to Fix It"We have an index on that column, why is this still slow?" — because the index isn't broken. It's just fat. An index that used to fit in a handful of pages can silently grow to several times its neede00
UUUduak Ukponginuduakukpong.hashnode.dev·3d ago · 10 min readRow-Level Security for Multi-Tenant Postgres: USING vs WITH CHECK in PracticeThis piece isn't about turning RLS on. It's about what goes inside the policies once it is, and about proving they do what you think they do instead of just trusting the SQL. That distinction matters 00
JLJeremy Longshoreinjeremylongshore.hashnode.dev·3d ago · 15 min readThe Primary Record Settles What a Derived One AssumedA legal packet had already been corrected once. That is what made the day worth writing down. The name on the drafts was wrong, somebody caught it, somebody fixed it against the records we had, and th00
Hhashnodeinvictorbvieira.hashnode.dev·4d ago · 3 min readDesigning a Privacy-First Architecture for Sensitive Data: Zero-IP Logging, Postgres RLS, and AI SafetyWhen building software that handles sensitive human data (like workplace feedback, satisfaction surveys, and compliance reports), security and privacy cannot be treated as optional features or mere le00
JLJeremy Longshoreinjeremylongshore.hashnode.dev·4d ago · 15 min readThe Primary Record Settles What a Derived One AssumedA legal packet had already been corrected once. That is what made the day worth writing down. The name on the drafts was wrong, somebody caught it, somebody fixed it against the records we had, and th00
JLJeremy Longshoreinjeremylongshore.hashnode.dev·4d ago · 15 min readThe Primary Record Settles What a Derived One AssumedA legal packet had already been corrected once. That is what made the day worth writing down. The name on the drafts was wrong, somebody caught it, somebody fixed it against the records we had, and th01R
JLJeremy Longshoreinjeremylongshore.hashnode.dev·5d ago · 15 min readThe Primary Record Settles What a Derived One AssumedA legal packet had already been corrected once. That is what made the day worth writing down. The name on the drafts was wrong, somebody caught it, somebody fixed it against the records we had, and th00
UUUduak Ukponginuduakukpong.hashnode.dev·5d ago · 11 min readBuild a Postgres Audit Log Your Application Code Cannot BypassMost audit logs get written by application code. A service function calls the database, then calls a logging function right after, two separate steps, two separate places to remember. Forget the secon00
SKsandeep kesarwaniinmusashiforge.hashnode.dev·5d ago · 10 min readPostgres as a QueueI've run Celery on RabbitMQ in production for years and every so often wonder whether the broker could just be Postgres. It can, and two Go libraries do it well. But a table isn't a broker, and three 00