PostgreSQL 19 ships with REPACK, letting you rebuild bloated tables without locking out reads and writes
Postgres 19 is out, and it's available on Neon and Databricks Lakebase

PostgreSQL 19 hit GA and is already live on Databricks Lakebase, thanks to several team engineers who are Postgres committers. The release is practical rather than flashy: REPACK rebuilds tables concurrently, pg_plan_advice and pg_stash_advice let you correct bad query plans, parallel autovacuum and new statistics views improve maintenance, and logical replication gains sequence sync and WAIT FOR LSN. A few big features, including SQL/PGQ, were reverted before release.
Concurrent repacking is also not MVCC-safe: after it commits, transactions using snapshots taken before the repack began can see the table as empty.
- jedberg
REPACK is my favorite new feature. Vacuum was the bane of my existence when I ran Postgres at reddit. Partly because I didn't know what vacuum was for the first two years.
So I thought, "huh, every time vacuum runs it slows down, I should turn this off". Yeah it was dumb to not even google what it was for. About two years in, I hit the point where I ran out of row IDs, and that's when I finally learned what vacuum was for (and reddit was down for a bunch of hours).
Having REPACK would have been a godsend.
- throwitaway222
It's very odd that both Snowflake and Databricks (two competitors) have a postgres 19 release announcement in the same 4 hour window and both have been updated but both companies barely ever gets comments on hacker news. It's definitely being upvoted by employees.
- mmh0000
I’ve been super excited for this release! There’s a lot of performance improvements in 19. Now I just have to wait for AWS to launch it.