DEV Community

# postgres

Posts on tips and tricks, using and learning about PostgreSQL for database development and analysis.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
RLS sounds great until it isn't

RLS sounds great until it isn't

1
Comments
9 min read
Multi-tenant files em Postgres + S3 com RLS FORCE: como o GarraIA fechou 9 slices REST sem deixar brecha de tenant isolation

Multi-tenant files em Postgres + S3 com RLS FORCE: como o GarraIA fechou 9 slices REST sem deixar brecha de tenant isolation

Comments
5 min read
Row-Level Multitenancy in Rails: Building a Bulletproof Tenant Isolation Layer from Scratch

Row-Level Multitenancy in Rails: Building a Bulletproof Tenant Isolation Layer from Scratch

Comments
10 min read
I added a grid_size column. Two months later I dropped it. What I learned about derived state in Postgres.

I added a grid_size column. Two months later I dropped it. What I learned about derived state in Postgres.

1
Comments
4 min read
Beyond Basics: Mastering SQL's LEAD, LAG, RANK, DENSE_RANK, and NTILE

Beyond Basics: Mastering SQL's LEAD, LAG, RANK, DENSE_RANK, and NTILE

Comments
6 min read
The Document Number Is Reserved Before the PDF Exists

The Document Number Is Reserved Before the PDF Exists

Comments
3 min read
The Audit Trail Is a Data Structure, Not a Log Message

The Audit Trail Is a Data Structure, Not a Log Message

Comments
3 min read
Architecting a Two-Stage Semantic Search Pipeline with HNSW, LATERAL JOIN, and Cubic Scoring

Architecting a Two-Stage Semantic Search Pipeline with HNSW, LATERAL JOIN, and Cubic Scoring

Comments
14 min read
Agents that monitor themselves: a self-auditing RAG on Tiger's Agentic Postgres

Agentic Postgres Challenge Submission

Agents that monitor themselves: a self-auditing RAG on Tiger's Agentic Postgres

Comments
6 min read
Building a self-healing cron system with pg_cron and Supabase edge functions

Building a self-healing cron system with pg_cron and Supabase edge functions

Comments
3 min read
Six jours, six secondes : un test CI contre le drift sémantique d'un agent IA

Six jours, six secondes : un test CI contre le drift sémantique d'un agent IA

Comments
7 min read
Six days, six seconds: a CI test against semantic-layer drift on an AI agent

Six days, six seconds: a CI test against semantic-layer drift on an AI agent

Comments
7 min read
Building a Dockerized Cryptocurrency ETL Pipeline with Apache Airflow

Building a Dockerized Cryptocurrency ETL Pipeline with Apache Airflow

1
Comments
4 min read
Indexing every WHERE column is not PostgreSQL optimization

Indexing every WHERE column is not PostgreSQL optimization

Comments
1 min read
Beyond Basic Indexes: Mastering Partial, Composite, and Covering Indexes in SQL

Beyond Basic Indexes: Mastering Partial, Composite, and Covering Indexes in SQL

Comments
6 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.