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.
Building a "Sell Anything" Product Catalog in Postgres: JSONB + a Typed Shadow Index

Building a "Sell Anything" Product Catalog in Postgres: JSONB + a Typed Shadow Index

1
Comments 1
6 min read
I built CloudHike: a backend your AI coding agent can set up over MCP

I built CloudHike: a backend your AI coding agent can set up over MCP

Comments 1
4 min read
Stop Indexing Boolean Columns in PostgreSQL. Do This Instead.

Stop Indexing Boolean Columns in PostgreSQL. Do This Instead.

7
Comments 2
3 min read
JSONB, Dynamic Columns, or a Search Engine — How Do You Store Tenant-Defined Fields?

JSONB, Dynamic Columns, or a Search Engine — How Do You Store Tenant-Defined Fields?

1
Comments 4
2 min read
pg_dump on Supabase: "query would be affected by row-level security policy"

pg_dump on Supabase: "query would be affected by row-level security policy"

Comments
2 min read
Your database says "saved" before it touches the table. Here's why that's safe.

Your database says "saved" before it touches the table. Here's why that's safe.

1
Comments 1
5 min read
ChatGPT serves 800 million users from one Postgres primary. Here's how 🐘

ChatGPT serves 800 million users from one Postgres primary. Here's how 🐘

10
Comments
3 min read
42501 permission denied for table

42501 permission denied for table

Comments
4 min read
Optimasi Arsitektur Database PostgreSQL dan Redis Caching untuk Menangani Beban Jutaan Kueri

Optimasi Arsitektur Database PostgreSQL dan Redis Caching untuk Menangani Beban Jutaan Kueri

Comments
3 min read
The last month is always a lie: lessons from querying 1 billion rows of Brazilian crime data

The last month is always a lie: lessons from querying 1 billion rows of Brazilian crime data

1
Comments 1
3 min read
Supabase 42501 permission denied is a grant problem, not RLS

Supabase 42501 permission denied is a grant problem, not RLS

Comments
4 min read
A strategy game that keeps running while nobody is online

A strategy game that keeps running while nobody is online

1
Comments
7 min read
All 59 timestamp columns in our schema are without time zone, and the public API still appends a Z

All 59 timestamp columns in our schema are without time zone, and the public API still appends a Z

Comments
5 min read
Our updated_at is maintained by the ORM, not the database, and 10 of 25 tables have one

Our updated_at is maintained by the ORM, not the database, and 10 of 25 tables have one

Comments
4 min read
Why My Pagination Got Slower Every Page: Field Notes on OFFSET, Keyset Cursors, and Stable Sort Keys

Why My Pagination Got Slower Every Page: Field Notes on OFFSET, Keyset Cursors, and Stable Sort Keys

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