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.
Testing FastAPI + SQLAlchemy with Real PostgreSQL Fixtures: No More Mocking Misery

Testing FastAPI + SQLAlchemy with Real PostgreSQL Fixtures: No More Mocking Misery

Comments
5 min read
Time-Series in Postgres: When TimescaleDB Wins, When Native Partitioning Beats It

Time-Series in Postgres: When TimescaleDB Wins, When Native Partitioning Beats It

1
Comments
9 min read
I keep writing the same Pydantic-asyncpg wrapper. So I published it.

I keep writing the same Pydantic-asyncpg wrapper. So I published it.

2
Comments
6 min read
Connection Pooling 2026: PgBouncer vs RDS Proxy vs Supabase Pooler

Connection Pooling 2026: PgBouncer vs RDS Proxy vs Supabase Pooler

Comments 1
10 min read
Pick the Right Postgres Index in 90 Seconds: B-tree, GIN, GiST, BRIN, Hash

Pick the Right Postgres Index in 90 Seconds: B-tree, GIN, GiST, BRIN, Hash

Comments 1
8 min read
From AI Code Generation to AI System Investigation

From AI Code Generation to AI System Investigation

2
Comments 1
3 min read
Building Audit Logs That Don't Destroy Your Database: A Production Pattern

Building Audit Logs That Don't Destroy Your Database: A Production Pattern

1
Comments 3
4 min read
I Built a Multi-Tenant SaaS for 50+ Tenants — Here's the Complete Architecture

I Built a Multi-Tenant SaaS for 50+ Tenants — Here's the Complete Architecture

Comments 1
9 min read
Small AI database questions can become big scans

Small AI database questions can become big scans

2
Comments
1 min read
Building Multi-Tenant Row-Level Security in PostgreSQL: A Production Pattern

Building Multi-Tenant Row-Level Security in PostgreSQL: A Production Pattern

Comments
4 min read
Building Multi-Tenant SaaS with SQLAlchemy Row-Level Security

Building Multi-Tenant SaaS with SQLAlchemy Row-Level Security

Comments
4 min read
PostgreSQL JSONB Indexing: GIN, Expression & Partial Index Strategies

PostgreSQL JSONB Indexing: GIN, Expression & Partial Index Strategies

Comments
4 min read
The 8 tables behind a real auth system (Postgres schema, explained column by column)

The 8 tables behind a real auth system (Postgres schema, explained column by column)

3
Comments
10 min read
PostgreSQL Backup and Recovery: A Complete Guide

PostgreSQL Backup and Recovery: A Complete Guide

Comments
5 min read
TimescaleDB Continuous Aggregates: What I Got Wrong (and How to Fix It)

TimescaleDB Continuous Aggregates: What I Got Wrong (and How to Fix It)

Comments
5 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.