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.
Every table in our database is inserted with the word "placeholder" in a NOT NULL column, because the QR code contains the row's own id

Every table in our database is inserted with the word "placeholder" in a NOT NULL column, because the QR code contains the row's own id

Comments
6 min read
Two phones at the same table pressed Join in the same moment, and the loser was told the quiz did not exist

Two phones at the same table pressed Join in the same moment, and the loser was told the quiz did not exist

Comments
6 min read
Five things restore-testing Supabase dumps turned up

Five things restore-testing Supabase dumps turned up

2
Comments 1
5 min read
Postgres 2026: Fresh-Data Search for a Financial Research Dashboard

Postgres 2026: Fresh-Data Search for a Financial Research Dashboard

Comments
6 min read
Idempotency keys done right: exactly-once effects over at-least-once networks

Idempotency keys done right: exactly-once effects over at-least-once networks

Comments
13 min read
Building a bulk import pipeline for fixed-asset accounting in Spring Boot

Building a bulk import pipeline for fixed-asset accounting in Spring Boot

Comments
4 min read
Twelve tables, 21 foreign keys, and not one ON DELETE CASCADE, so "delete my history" is four statements in a fixed order

Twelve tables, 21 foreign keys, and not one ON DELETE CASCADE, so "delete my history" is four statements in a fixed order

Comments 1
5 min read
Why I like Neon

Why I like Neon

10
Comments 1
2 min read
Reconcile a dashboard number with the source table in SQL

Reconcile a dashboard number with the source table in SQL

1
Comments
2 min read
Our free plan hides creators with a window function, and the locked count is the same predicate with a "not" in front

Our free plan hides creators with a window function, and the locked count is the same predicate with a "not" in front

Comments 1
5 min read
Upgrading Pgpool-II for the September 2026 CVEs: a practical order of work

Upgrading Pgpool-II for the September 2026 CVEs: a practical order of work

Comments 1
3 min read
Do Cardano's governance vote rationales still resolve? Measuring it with db-sync and a blake2b-256 check

Do Cardano's governance vote rationales still resolve? Measuring it with db-sync and a blake2b-256 check

Comments
4 min read
Shadow Replay or Read-Only Canary: Two Ways to Ship Agent-Written SQL

Shadow Replay or Read-Only Canary: Two Ways to Ship Agent-Written SQL

Comments 1
5 min read
PostgreSQL JSONB Write Amplification: TOAST Chunk Fragmentation and Unseen I/O Thrashing

PostgreSQL JSONB Write Amplification: TOAST Chunk Fragmentation and Unseen I/O Thrashing

1
Comments
4 min read
PostgreSQL 19's ON CONFLICT DO SELECT cuts a get-or-create call from two round trips to one

PostgreSQL 19's ON CONFLICT DO SELECT cuts a get-or-create call from two round trips to one

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