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.
Rebuilding the Cerebras Knowledge Base: adding hybrid search

Rebuilding the Cerebras Knowledge Base: adding hybrid search

Comments
6 min read
Rebuilding the Cerebras Knowledge Base: the naive vector baseline

Rebuilding the Cerebras Knowledge Base: the naive vector baseline

Comments
5 min read
Incremental Backup Using pg_basebackup in PostgreSQL 18

Incremental Backup Using pg_basebackup in PostgreSQL 18

1
Comments
7 min read
Postgres RLS multi-tenancy: two leaks that survive correct policies

Postgres RLS multi-tenancy: two leaks that survive correct policies

Comments 2
8 min read
Five bugs AI wrote for me that never threw an error

Five bugs AI wrote for me that never threw an error

Comments
6 min read
Deterministic checks for AI-written migrations

Deterministic checks for AI-written migrations

9
Comments
4 min read
Why ADD COLUMN NOT NULL fails on a full table, and the migration that does not

Why ADD COLUMN NOT NULL fails on a full table, and the migration that does not

10
Comments
3 min read
Replace the Heuristic With a Boundary: Rebuilding a Leave Table as an Append-Only Ledger

Replace the Heuristic With a Boundary: Rebuilding a Leave Table as an Append-Only Ledger

Comments
9 min read
What is Information Schema in PostgreSQL?

What is Information Schema in PostgreSQL?

Comments
2 min read
CREATE INDEX CONCURRENTLY is not free, and half the time you do not need it

CREATE INDEX CONCURRENTLY is not free, and half the time you do not need it

7
Comments
4 min read
Adding a foreign key to a big table without locking both of them

Adding a foreign key to a big table without locking both of them

7
Comments
3 min read
One line stops a migration from taking down production. Almost nobody adds it.

One line stops a migration from taking down production. Almost nobody adds it.

6
Comments
4 min read
Visual Search on pgvector + Gemini: Detect, Crop, Embed, Rank (and the Averaging Bug That Broke Exact Match)

Visual Search on pgvector + Gemini: Detect, Crop, Embed, Rank (and the Averaging Bug That Broke Exact Match)

Comments
8 min read
Postgres LISTEN/NOTIFY in Production: Safe Reconnects & SSE

Postgres LISTEN/NOTIFY in Production: Safe Reconnects & SSE

1
Comments 1
7 min read
Database Index: Why Queries Become Slow as Data Grows

Database Index: Why Queries Become Slow as Data Grows

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