Running VACUUM FULL or CLUSTER on a bloated production table takes an ACCESS EXCLUSIVE LOCK and stalls live traffic. For years, teams relied on external extensions like pg_repack to avoid downtime.
Released on November 19, 2026, PostgreSQL 19.0 moves REPACK (CONCURRENTLY) into core so you can reclaim disk space while reads and writes keep flowing.
1. Safe REPACK (CONCURRENTLY) Commands
-- Reclaim dead-tuple bloat without blocking traffic:
REPACK (CONCURRENTLY) orders;
-- Physically reorder by index (replaces CLUSTER):
REPACK (CONCURRENTLY) orders USING INDEX idx_orders_created_at;
-- Verbose output + fresh planner statistics:
REPACK (CONCURRENTLY, VERBOSE, ANALYZE) orders;- Cannot run inside an explicit transaction block.
- Database-wide
REPACK(omitting a table name) does not supportCONCURRENTLY.
2. Key Highlights in PostgreSQL 19.0
INSERT ... ON CONFLICT DO SELECT: Return the conflicting row in a single statement without a follow-upSELECT.- Replication: Enable logical replication without a server restart (when
wal_level = replica), native logical replication ofsequencevalues, and the newWAITcommand for read-your-writes consistency on standbys. - Performance Defaults:
lz4is now the default TOAST compression, JIT is disabled by default for predictable OLTP latency, plus auto-scaling I/O workers and parallel index autovacuum.
3. 4 Breaking Changes Before Running pg_upgrade
- RADIUS auth removed — migrate
pg_hba.confentries before upgrading. - Dumps with
standard_conforming_strings = offare no longer loadable. - Legacy
inet/cidrbtree_gistindexes blockpg_upgrade— locate and rebuild them first. - Object names containing CR/LF stop
pg_upgrade— audit and rename before upgrading.
Official References
Interactive Roadmap & Tool
- Junior Backend Developer 2026What you actually need to know to land a junior backend role in 2026, and what can wait — filtering out the buzzword traps in real job posts.Open tool
- SQL or NoSQL?Answer six questions and I'll tell you which kind of database fits your project, and why.Open tool· #database
Come build with us.
Help when you're stuck, a second pair of eyes on your code, new tools before anyone else.
Read next
- CZEN7 Critical PHP RCE Flaws (CVSS 9.2): phpAfterShell, PHP-FPM Smuggling & Patch Guide
7 Critical PHP RCE Flaws (CVSS 9.2): phpAfterShell, PHP-FPM Smuggling & Patch Guide
November 20, 2026 · 2 min read - CZEN6 Open-Source GitHub Repos That Replace Paid SaaS Subscriptions
6 Open-Source GitHub Repos That Replace Paid SaaS Subscriptions
November 11, 2026 · 1 min read