The Wayback Machine - https://web.archive.org/web/20261118225241/https://dev.to/t/postgres

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.
9 PostgreSQL fixes that took real queries from ~100 ms to under 1 ms (with EXPLAIN output)

9 PostgreSQL fixes that took real queries from ~100 ms to under 1 ms (with EXPLAIN output)

1
4 min read
When DDD Is the Wrong Tool for the Job

When DDD Is the Wrong Tool for the Job

14 min read
Case-Insensitive Email in PostgreSQL: citext, a lower() Index, or a Nondeterministic Collation?

Case-Insensitive Email in PostgreSQL: citext, a lower() Index, or a Nondeterministic Collation?

8 min read
Postgres "idle in transaction" Sessions Are Blocking Your Migrations and Vacuum: Find Them, Fix the Code, Set a Timeout

Postgres "idle in transaction" Sessions Are Blocking Your Migrations and Vacuum: Find Them, Fix the Code, Set a Timeout

5 min read
Checking Database Migrations in CI: What a Pull Request Check Can Catch Without a Database

Checking Database Migrations in CI: What a Pull Request Check Can Catch Without a Database

1
1
8 min read
Test your matching pipeline against a world you generate: traps, an answer key, and zero peeking

Test your matching pipeline against a world you generate: traps, an answer key, and zero peeking

9 min read
Typed raw SQL for Effect

Typed raw SQL for Effect

2 min read
SQL Window Functions Explained (with Examples You Can Run)

SQL Window Functions Explained (with Examples You Can Run)

4 min read
We Turned On Row-Level Security in Postgres. Four Things Broke.

We Turned On Row-Level Security in Postgres. Four Things Broke.

1
1
3 min read
Node.js Express Background Jobs: API Enqueue and Idempotent PostgreSQL Workers

Node.js Express Background Jobs: API Enqueue and Idempotent PostgreSQL Workers

4 min read
Don't Hold a Database Transaction While the LLM Thinks

Don't Hold a Database Transaction While the LLM Thinks

6
1
6 min read
The Double-Booked Seat: Fixing a Booking Race Condition in Postgres

The Double-Booked Seat: Fixing a Booking Race Condition in Postgres

2
8 min read
Node.js Express Background Jobs: EdTech API Requests, Queue Workers, Idempotency

Node.js Express Background Jobs: EdTech API Requests, Queue Workers, Idempotency

7 min read
YouTube captions in Postgres: preserve the revision your answer cited

YouTube captions in Postgres: preserve the revision your answer cited

9 min read
Your PostgreSQL UPDATE ... FROM Never Finishes: The Repeated Target Table That Turns It Into a Cross Join

Your PostgreSQL UPDATE ... FROM Never Finishes: The Repeated Target Table That Turns It Into a Cross Join

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