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.
Import Data into Light Cloud: Upload a .sql Dump or Stream It with psql

Import Data into Light Cloud: Upload a .sql Dump or Stream It with psql

Comments
4 min read
TypeSQL: type-safe plain SQL in TypeScript

TypeSQL: type-safe plain SQL in TypeScript

Comments
4 min read
Shopify can't tell you who changed your stock, so I built a ledger for 4 stores

Shopify can't tell you who changed your stock, so I built a ledger for 4 stores

1
Comments 2
3 min read
Exploring tenant isolation with Spring Boot, OIDC, and PostgreSQL RLS

Exploring tenant isolation with Spring Boot, OIDC, and PostgreSQL RLS

1
Comments
5 min read
Don't DROP COLUMN while old app code still reads it

Don't DROP COLUMN while old app code still reads it

1
Comments
3 min read
Our app opens two Postgres pools, and exactly one method crosses from the first to the second

Our app opens two Postgres pools, and exactly one method crosses from the first to the second

1
Comments
5 min read
Read-Only Postgres Role for AI Agents: 7 Gaps to Close

Read-Only Postgres Role for AI Agents: 7 Gaps to Close

2
Comments 2
10 min read
Measuring realized Cardano staking yield from cardano-db-sync: epoch rewards over epoch stake, split by pool size

Measuring realized Cardano staking yield from cardano-db-sync: epoch rewards over epoch stake, split by pool size

Comments
4 min read
Two AI-Generated PostgreSQL TLS Patches. One Passed. One Broke Startup.

Two AI-Generated PostgreSQL TLS Patches. One Passed. One Broke Startup.

Comments 2
2 min read
Patroni, Ubuntu 24.04, and two unplanned PostgreSQL failovers

Patroni, Ubuntu 24.04, and two unplanned PostgreSQL failovers

1
Comments 1
17 min read
Our 32 migrations are 36 KB of SQL, and the folder they live in holds 2.4 MB of JSON

Our 32 migrations are 36 KB of SQL, and the folder they live in holds 2.4 MB of JSON

Comments
6 min read
Our maintenance mode is one boolean in a TypeScript file, and it taught us that our sign-in pages are not public

Our maintenance mode is one boolean in a TypeScript file, and it taught us that our sign-in pages are not public

Comments
6 min read
The biggest delete in our app is one line of raw SQL against a table our ORM does not manage

The biggest delete in our app is one line of raw SQL against a table our ORM does not manage

Comments
6 min read
CREATE INDEX on a live Postgres table locks writes. CONCURRENTLY fixes that, if you keep it out of a transaction

CREATE INDEX on a live Postgres table locks writes. CONCURRENTLY fixes that, if you keep it out of a transaction

Comments
3 min read
Supabase multi-tenant RLS: membership policy pattern

Supabase multi-tenant RLS: membership policy pattern

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