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.
MVCC Explained: Build Postgres-Style Snapshots in 100 Lines of TypeScript

MVCC Explained: Build Postgres-Style Snapshots in 100 Lines of TypeScript

Comments
12 min read
My app could read the database. pgAdmin couldn't. Both were pointing at "localhost:5432"

My app could read the database. pgAdmin couldn't. Both were pointing at "localhost:5432"

Comments
3 min read
Database Connections in Serverless: Field Notes on Pool Math, PgBouncer Transaction Mode, and the Singleton HMR Kept Recreating

Database Connections in Serverless: Field Notes on Pool Math, PgBouncer Transaction Mode, and the Singleton HMR Kept Recreating

1
Comments
5 min read
Your audit log is probably lying to you. Postgres 18 fixes it in one statement.

Concurrently logged ghosts hide lost transactions

Your audit log is probably lying to you. Postgres 18 fixes it in one statement.

12
Comments 6
5 min read
A Shapefile Is Four Files, and the Important One Is Optional

A Shapefile Is Four Files, and the Important One Is Optional

Comments
5 min read
Building a RAG Retrieval Service: pgvector, Embedding Migrations, and Provenance Tracking

Building a RAG Retrieval Service: pgvector, Embedding Migrations, and Provenance Tracking

Comments
3 min read
Building a Notification Service: Cloud Tasks Delivery, Circuit Breakers, and Webhook Dispatch

Building a Notification Service: Cloud Tasks Delivery, Circuit Breakers, and Webhook Dispatch

Comments
5 min read
I put reminders, contacts and recipes in the same Postgres table. Here is the SQL, and what it cost.

I put reminders, contacts and recipes in the same Postgres table. Here is the SQL, and what it cost.

Comments
5 min read
Using an AST to validate AI-generated PostgreSQL before it runs

Using an AST to validate AI-generated PostgreSQL before it runs

Comments
3 min read
The RLS Policy Was Correct. The Write Was Still Wrong.

The RLS Policy Was Correct. The Write Was Still Wrong.

Comments
3 min read
MCP vs. a Direct Database Connection: A Security and Workflow Comparison

MCP vs. a Direct Database Connection: A Security and Workflow Comparison

Comments
7 min read
One View Per Layer: Four Sharp Edges I Found in My Own Code

One View Per Layer: Four Sharp Edges I Found in My Own Code

Comments
6 min read
A Small Fintech Challenge, and Why I Let Postgres Hold the Money

A Small Fintech Challenge, and Why I Let Postgres Hold the Money

Comments
4 min read
Moving Oracle to PostgreSQL with a Single `INSERT` — No Oracle Client, No Python

Moving Oracle to PostgreSQL with a Single `INSERT` — No Oracle Client, No Python

Comments
11 min read
Redis Caching in NestJS: I Cut Database Calls by 60% in Production

Redis Caching in NestJS: I Cut Database Calls by 60% in Production

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