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.
FOR UPDATE SKIP LOCKED Was Not Enough: A Stale Failure Write Race in an Inbox Processor

FOR UPDATE SKIP LOCKED Was Not Enough: A Stale Failure Write Race in an Inbox Processor

Comments 2
7 min read
How I Let My AI Coding Agent Write Database Migrations Without Losing Data

How I Let My AI Coding Agent Write Database Migrations Without Losing Data

1
Comments 2
6 min read
Embedding versions management, TOAST and bloating in PostgreSQL

Embedding versions management, TOAST and bloating in PostgreSQL

1
Comments 2
6 min read
750 Free Hours a Month, but a Month Is 730: 3 Free-Tier Mistakes That Took Down My App

750 Free Hours a Month, but a Month Is 730: 3 Free-Tier Mistakes That Took Down My App

3
Comments 5
10 min read
Missing RLS: The Most Underrated Breach Cause of 2026

Missing RLS: The Most Underrated Breach Cause of 2026

Comments 1
4 min read
Episode 3: Setting Up a Managed PostgreSQL Database on Azure & Connecting Your Express API

Episode 3: Setting Up a Managed PostgreSQL Database on Azure & Connecting Your Express API

2
Comments
4 min read
Adding an index made my query slower. Here's why.

Adding an index made my query slower. Here's why.

Comments 1
3 min read
You probably don't need a dedicated vector database (Use pgvector instead)

You probably don't need a dedicated vector database (Use pgvector instead)

1
Comments 5
6 min read
# 🔬 PostgreSQL Internals: What Is Actually Inside an 8 KB Page?

# 🔬 PostgreSQL Internals: What Is Actually Inside an 8 KB Page?

Comments
5 min read
I let a model suggest Postgres indexes, then made the database mark its work

I let a model suggest Postgres indexes, then made the database mark its work

15
Comments 5
9 min read
# 🔍 What Actually Happens When PostgreSQL Executes a SELECT Query?

# 🔍 What Actually Happens When PostgreSQL Executes a SELECT Query?

Comments
5 min read
PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

Comments
23 min read
We show your API key once, and here is the option we turned down

We show your API key once, and here is the option we turned down

1
Comments 6
4 min read
Preventing Overselling: Inventory Locks Under Concurrent Checkouts

Preventing Overselling: Inventory Locks Under Concurrent Checkouts

Comments 1
10 min read
How I Built Multi-Tenant Data Isolation for My SaaS CRM with PostgreSQL RLS

How I Built Multi-Tenant Data Isolation for My SaaS CRM with PostgreSQL RLS

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