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.
I couldn't touch the database, so I built search next to it

I couldn't touch the database, so I built search next to it

1
Comments 2
9 min read
Multi-Tenancy in SaaS: Choosing Between Shared Tables, Schemas and Separate Databases

Multi-Tenancy in SaaS: Choosing Between Shared Tables, Schemas and Separate Databases

3
Comments 3
2 min read
Your dashboard is green and the number is wrong: the SQL checks I schedule next to every metric

Your dashboard is green and the number is wrong: the SQL checks I schedule next to every metric

1
Comments 3
4 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
PostgreSQL 19's WAIT FOR LSN command replaces the read-your-writes polling loop

PostgreSQL 19's WAIT FOR LSN command replaces the read-your-writes polling loop

15
Comments 2
8 min read
Stop building your own vector index: Why managed services are eating the Postgres ecosystem

Stop building your own vector index: Why managed services are eating the Postgres ecosystem

1
Comments 1
5 min read
Do Supabase backups include Storage files?

Do Supabase backups include Storage files?

Comments
4 min read
Preventing Race Conditions in Symfony with Doctrine and PostgreSQL

Preventing Race Conditions in Symfony with Doctrine and PostgreSQL

6
Comments
8 min read
How to catch a missing index in a test, when your test table has 20 rows.

How to catch a missing index in a test, when your test table has 20 rows.

Comments 6
6 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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.