PostgreSQL 19 Daily Brief — Day 16th: December 04, 2026
Marcus Vance — Lead Systems & Backend Architect
December 04, 2026
The Lay of the Land
PostgreSQL 19 dropped on November 19, 2026 — three weeks later than the usual autumn window after extended testing and feature reversions. We’re 16 days into the release cycle. The initial announcement fanfare has settled; now the real work begins: understanding what actually works in production, what doesn’t, and where the sharp edges live.
Feature Pulse: What’s Moving
PostgreSQL 19: REPACK 命令支持 CONCURRENTLY 选项 – Redrock Postgres
Source: https://www.rockdata.net/zh-cn/posts/repack-add-concurrently-option
由 John Doe 四月 9, 2026
PostgreSQL 原生REPACK命令新增 CONCURRENTLY(并发执行)选项,实现了业务表几乎无感知的 7×24 小时在线重组。

目录
特性提交日志
为 REPACK 命令添加 CONCURRENTLY 选项。
当指定该选项时,REPACK 在创建表的新副本期间不再获取访问排他锁(access-exclusive lock);取而代之的是,它仅在共享更新排他锁(share-update-exclusive lock) 下创建初始副本(与 VACUUM 等命令锁级别相同),并基于 MVCC 快照进行操作。它会从该快照开始创建一个复制槽,并使用一个并发后台工作进程,从该快照起点执行逻辑解码,将并发产生的数据变更暂存起来。
在交换表物理
PostgreSQL 19 REPACK CONCURRENTLY explained | NiharDaily
Source: https://www.nihardaily.com/posts/postgresql-19-repack-concurrently-shrink-bloat-stay-live
What is REPACK in PostgreSQL 19?
REPACK is a new PostgreSQL 19 command that rewrites a table into a fresh disk file to remove wasted space. The official REPACK reference says it returns space to the operating system and can also reorder rows to match an index. The PostgreSQL 19 release notes list the CONCURRENTLY option as the headline change.
Table bloat is disk space that a table holds but no live row uses. It builds up when an app deletes or updates many rows. Plain VACUUM marks th
Postgres 19 REPACK: Built-In Online Table Bloat Cleanup
Source: https://www.snowflake.com/en/blog/engineering/postgres-19-repack-table-bloat
This worked well, and many production systems relied on it for years. But installing third-party extensions makes some teams nervous, and the external binary adds operational overhead.
How pg_squeeze works
pg_squeeze (from CYBERTEC, the same team behind much of the Postgres 19 REPACK work) came along and took a more modern approach. It’s also seen wide production use. […] Nov 2, 2026/10 min readOpen Source
Postgres 19 REPACK: Faster, Built-In Table Bloat Cleanup
REPACK is my favori
Postgres 19 REPACK: shrink a bloated table without stopping the clients
Source: https://www.youtube.com/watch?v=EGd3SYDaenI
Postgres 19 came out yesterday and one feature got its own hacker news thread. A new command called repack. It gives a bloated table space back to the operating system and with one option it does that while your application keeps reading and writing. Let’s see how it works and then measure it. Here’s the problem. You purge most of a big table and the file on disk doesn’t shrink. Plain vacuum makes the space reusable but keeps the file. Vacuum full shrinks it but locks the table. So every query w
VACUUM FULL Locks Your Table the Whole Time. Postgres 19’s REPACK CONCURRENTLY Doesn’t – DEV Community
Should you use it yet
Not in production today. As of October 15, 2026, the newest PostgreSQL 19 build on postgresql.org is Beta 4, released September 24. The Beta 4 announcement says a release candidate "should occur in early October" and GA "may also occur in October," and the roadmap lists October 2026. That same announcement lists "several fixes for the new REPACK command, including crashes," and it reverted several other features, including SQL/PGQ. REPACK stayed in, but it’s still settl
Adoption Reality Check
This is where the rubber meets the road. Release notes promise; production deployments deliver verdicts.
Read your writes: WAIT FOR in PostgreSQL 19 | daily.dev
Source: https://daily.dev/posts/read-your-writes-wait-for-in-postgresql-19-dgf5lzjqp
PostgreSQL 19 introduces a new WAIT FOR SQL command that lets a session block until WAL replication reaches a specific LSN, enabling read-your-writes consistency on asynchronous replicas without the latency cost of synchronous replication. The command supports modes like standby_replay, standby_flush, standby_write, and primary_flush, plus TIMEOUT and NO_THROW options. It must run as a top-level utility command (not inside functions or higher isolation levels) because it needs to run withou
PG19 Hacktober: 31 Days of New Features: Automatic Scaling of PostgreSQL I/O Worker Processes – OpenSourceDB
I/O Submission ───► [ Worker 0 (Hot) ] ───► [ Worker 1 (Warm) ] ───► [ Worker 2..N (Idle) ] Always preferred Woken on spillover Allowed to time out
- Cache Locality & Latch Collapsing: Keeps lower-numbered workers hot and running in CPU caches while allowing latches to collapse when multiple jobs arrive in quick succession.
- Deterministic Scale-Down: High-numbered workers remain idle longer, allowing them to cleanly hit their
io_worker_idle_timeout.
2. Backlog Detection & Scale-Up Me
What breaks in PostgreSQL 19, and how to check before you upgrade | Mohammad Aziz
Source: https://iaziz786.com/blog/upgrading-to-postgresql-19
PostgreSQL 19 was released on November 19, 2026. If you run Postgres in production, the binary upgrade path from 18 looks familiar. You install the new binaries, create a new cluster, and run pg_upgrade.
The failures are less obvious. Some come from catalog objects that pg_upgrade inspects. Others come from settings and defaults that it does not read. This post separates the two. It covers the blockers that pg_upgrade --check reports before you touch data, an experiment that shows the mos
PostgreSQL 19 upgrade checklist: what breaks | NiharDaily
Source: https://www.nihardaily.com/posts/postgresql-19-upgrade-checklist-what-breaks-what-to-test
PostgreSQL 19 upgrade checklist: max_locks_per_transaction goes from 64 to 128
Table of contents 13 sections
PostgreSQL 19 can be upgraded safely, but three groups of changes can bite a production database. Some indexes block pg_upgrade outright. Some defaults change how the server behaves on day one. A few behaviors change without any error at all. Test those three groups in staging first, and the rest of the release notes are mostly good news.
Should you upgrade to PostgreSQL 19 no
Community Signal
-
PostgreSQL 19 Automatic I/O Worker Scaling | OpenSource DB posted on the topic | LinkedIn — https://www.linkedin.com/posts/opensource-db_day11-pg19hacktober-postgresql-activity-7514602090976153600-khRv
PG19 Hacktober — Day 10 of 31 Days of New Features! What if PostgreSQL could automatically scale its I/O worker processes based on workload demand, without relying on a fixed worker pool? Featured Aut… -
𝐏𝐨𝐬𝐭𝐠𝐫𝐞𝐒𝐐𝐋 19, 𝐃𝐚𝐲 8 𝐨𝐟 9: 𝐚𝐬𝐲𝐧𝐜 𝐈/𝐎 𝐭𝐡𝐚𝐭 𝐭𝐮𝐧𝐞𝐬 𝐢𝐭𝐬𝐞𝐥𝐟 | Manosh Malai — https://www.linkedin.com/posts/mmalai_postgresql-postgresql19-performance-activity-7513833066667122689-h7xy
𝐏𝐨𝐬𝐭𝐠𝐫𝐞𝐒𝐐𝐋 19, 𝐃𝐚𝐲 8 𝐨𝐟 9: 𝐚𝐬𝐲𝐧𝐜 𝐈/𝐎 𝐭𝐡𝐚𝐭 𝐭𝐮𝐧𝐞𝐬 𝐢𝐭𝐬𝐞𝐥𝐟 PG 18 introduced asynchronous I/O. PG 19 makes it smarter. PostgreSQL now starts with a small I/O worker pool and automatically adds more workers… -
Hacker News — https://tavily.com/knowledge/company/DOqPDJ6Rl25D
Hacker News
https://tavily.com/knowledge/company/DOqPDJ6Rl25D
ID: DOqPDJ6Rl25D
Website: https://www.hackernews.in
Headquarters: Buffa…
Vance’s Take
Here’s what I’m watching, having spent two decades watching Postgres releases go from RC to production:
REPACK CONCURRENTLY
The headline feature. Non-blocking table reorganization is genuinely useful for 24/7 workloads that can’t afford exclusive locks. But the 104-million-tuple limit (MVCC snapshot horizon) means it’s not a universal vacuum replacement — it’s a targeted tool for bloat hotspots. Test your tuple counts before you schedule it.
pg_plan_advice / pg_stash_advice
Plan pinning without hints. This is Postgres finally admitting that sometimes the planner gets it wrong and DBAs need a lever. The extension approach keeps core clean while giving operators control. Expect to see this in every serious monitoring stack within six months.
Standby Read-Your-Writes (WAIT FOR LSN)
This solves the classic "read from replica after write" race without synchronous replication’s latency penalty. The WAIT command blocks until the standby catches up to a specific LSN. For read-scaling architectures, this is the feature that makes async replicas viable for consistent reads. Finally.
Sequence Logical Replication
Identity columns and sequences now replicate logically. No more out-of-sync sequences on subscribers after failover. This was a genuine pain point for logical replication setups; fixing it removes a whole class of post-failover manual intervention.
Foreign Key Check Speedup (2x)
The optimizer now avoids redundant FK checks during bulk loads and partitioned table operations. Measurable win for ETL pipelines and partition maintenance. Not sexy, but it compounds.
This Week’s Action Items
- If you run logical replication: test sequence replication on a staging subscriber before upgrading the publisher.
- Evaluate REPACK CONCURRENTLY on your most bloated tables — check
pg_class.relpagesvspg_relation_sizefirst. - Add
pg_plan_adviceto your monitoring stack; start capturing planner decisions that need pinning. - Review standby promotion procedures: WAIT FOR LSN changes the consistency calculus for read replicas.
- Schedule FK-heavy bulk loads to benefit from the 2x check speedup — partition maintenance windows may shrink.
Sources
- PostgreSQL 19: REPACK 命令支持 CONCURRENTLY 选项 – Redrock Postgres
- PostgreSQL 19 REPACK CONCURRENTLY explained | NiharDaily
- Postgres 19 REPACK: Built-In Online Table Bloat Cleanup
- Postgres 19 REPACK: shrink a bloated table without stopping the clients
- VACUUM FULL Locks Your Table the Whole Time. Postgres 19’s REPACK CONCURRENTLY Doesn’t – DEV Community
- F.30. pg_plan_advice — help the planner get the right plan | Christophe Pettus
- PostgreSQL 19 beta introduces pg_plan_advice and pg_stash_advice, two contrib modules that capture and replay plan shapes. | Christophe Pettus
- PostgreSQL 19 pg_plan_advice: control the query planner — The Stack Dispatch
- PostgreSQL 19 Beta 1 Introduces pg_plan_advice Extension | Christophe Pettus posted on the topic | LinkedIn
- PostgreSQL 19’s pg_plan_advice turned a 28ms query into 264ms under load – DEV Community
- PostgreSQL 19: 提供查询计划干预扩展 pg_stash_advice – Redrock Postgres
- PG19 Hacktober: 31 Days of New Features: pg_stash_advice: Applying Plan Advice Automatically per Query ID – OpenSourceDB
- PostgreSQL: Documentation: 19: F.33. pg_stash_advice — store and automatically apply plan advice
- PostgreSQL: Documentation: 19: F.33. pg_stash_advice — store and automatically apply plan advice
- The pg_stash_advice and pg_plan_advice extensions – Neon Docs
- Read‑your‑writes on replicas: PostgreSQL WAIT FOR LSN and MongoDB Causal Consistency – DEV Community
- PostgreSQL 19’s WAIT FOR LSN command replaces the read-your-writes polling loop – DEV Community
- PostgreSQL 19 WAIT FOR LSN: Solving Read-Your-Writes Consistency in .NET
- PostgreSQL 19 WAIT FOR LSN: Solving Read-Your-Writes Consistency in .NET
- Postgres 19 Feature Preview: Sequence Synchronization for Logical Replication | Bytebase
- PostgreSQL 19 features I’m excited about | Bytebase
- PostgreSQL 19 Beta 3: Detecting Logical Replication Sequence Regressions
- PostgreSQL 19 Logical Replication – Sequence Sync, EXCEPT TABLE, and More
- Looking Forward to Postgres 19: Logically Sequenced
- PostgreSQL: PostgreSQL 19 Released!
- PostgreSQL 19 Beta New Features: Parallel… | JusDB Blog
- PostgreSQL: PostgreSQL 19 Beta 1 Released!
- Medium
- How Postgres 19 checks foreign keys without running SQL · Nobody
- Autovacuum in PostgreSQL 19: Parallel and Prioritised
- PostgreSQL 19: What’s New, What Breaks, and When to Upgrade | Azguards Technolabs
- #day2 Pg19 Hacktober – Autovacuum Grows Up: Parallel Workers & the New Table-Priority Scoring System
- 6 Powerful Enhancements in PostgreSQL 19 | Mafiree
- PG19 Hacktober: 31 Days of New Features: Logical Replication Without the Restart: wal_level=replica, Subscriptions via postgres_fdw and pg_createsubscriber – OpenSourceDB
- PostgreSQL 19: Understanding effective_wal_level
- Turning on Postgres logical replication without a restart – DEV Community
- PostgreSQL 19 Beta Makes Async I/O Actually Scale, GENZ TECH
- Postgres 19: How Our Advice Has Changed Since… | Crunchy Data Blog
- PostgreSQL 19 vs 18 vs 17 in 2026: Which Version Should You Actually Upgrade To? | Pi Stack
- PostgreSQL 19 Upgrade: Breaking Changes to Check
- PostgreSQL 19 REPACK: A Complete Guide to Reclaiming Table Bloat – DEV Community
- PostgreSQL 19 REPACK CONCURRENTLY: Replace VACUUM FULL Safely — ADGSTUDIOS
- PostgreSQL: Documentation: 19: REPACK
- REPACK CONCURRENTLY in PostgreSQL 19: real cost | iMasters
- PostgreSQL: Detecting plan drift: pg_plan_advice pins plans, nothing watches them
- PostgreSQL 19 Brings Plan Hints via pg_plan_advice | iMasters
- PostgreSQL 19: Features, Upgrade Guide & Expert Support | CYBERTEC
- Reading your own writes with WAIT FOR LSN in Postgres 19 | Redowan’s Reflections
- PG19 Hacktober: 31 Days of New Features: WAIT FOR: Read-Your-Writes on PostgreSQL Standbys – OpenSourceDB
- Read your writes: WAIT FOR in PostgreSQL 19 | ClickHouse
- PostgreSQL 19 Logical Replication: Testing Sequence Recovery and Consistency
- PostgreSQL 19: Sequences Finally Replicate (After 20 Years)
- PostgreSQL 19: Logical replication of sequences – dbi services Blog
- Enable PostgreSQL logical replication for CDC | OLake
- PostgreSQL: Release Notes
- PostgreSQL 19 Performance Improvements, Explained
- Medium
- The pg_stash_advice and pg_plan_advice extensions – Neon Docs
- PostgreSQL 19 on ClickHouse Managed Postgres, from day one | ClickHouse
- pg_stash_advice(A PostgreSQL 19-compatible application extension that automatically saves slow query advice)_Baiduwiki
- How to use the pg_stash_advice extension in PostgreSQL 19
- RDS PostgreSQL now supports PostgreSQL 19.0 in the Amazon RDS Database Preview Environment – AWS
- Read your writes: WAIT FOR in PostgreSQL 19 | daily.dev
- PG19 Hacktober: 31 Days of New Features: Automatic Scaling of PostgreSQL I/O Worker Processes – OpenSourceDB
- What breaks in PostgreSQL 19, and how to check before you upgrade | Mohammad Aziz
- PostgreSQL 19 upgrade checklist: what breaks | NiharDaily
- PostgreSQL: Documentation: 19: pg_upgrade
- PostgreSQL for Everything | Hacker News
- PostgreSQL 19 RC1: reverted features and upgrade checks | ImportStatic
- Two features just left PostgreSQL v19
- PostgreSQL 19 delayed to October: what learners can take from a 53-feature revert — Mystery Code Society
- PostgreSQL 19 Delay: AI Review Loses 10 Features [2026]
- [image]: PostgreSQL 19 · Issue #755 · docker-hardened-images/catalog · GitHub
- "Error: in 18+, these Docker images are configured…" after pulling PostgreSQL 19 with postgres:latest — CyberNative
- Beta Testing PostgreSQL 19 With Docker | Software Engineer, Author, High Performance PostgreSQL for Rails
- AWS Aurora vs Azure HorizonDB vs AlloyDB: 3 Clouds
- PostgreSQL 19 Automatic I/O Worker Scaling | OpenSource DB posted on the topic | LinkedIn
- 𝐏𝐨𝐬𝐭𝐠𝐫𝐞𝐒𝐐𝐋 19, 𝐃𝐚𝐲 8 𝐨𝐟 9: 𝐚𝐬𝐲𝐧𝐜 𝐈/𝐎 𝐭𝐡𝐚𝐭 𝐭𝐮𝐧𝐞𝐬 𝐢𝐭𝐬𝐞𝐥𝐟 | Manosh Malai
- Hacker News
- Have you worked on any examples of projects that started on PostgreSQL and ended…
- Hacker news Bot
- How AI impacted the release of Postgres 19 | InfoWorld
- PostgreSQL Docker Official Image (docker-library/postgres) | Context7
- cimg/postgres – Docker Image
- Best Managed PostgreSQL Hosting in 2026: Compared by Use Case
- Cloud PostgreSQL on AWS, Azure and Google Cloud Compared
- PostgreSQL Cloud Playbook for 2026 on AWS, Azure, and GCP – M’Tech Research
Scheduling
publish = 2026-12-04 15:00:00 America/New_York
slug = postgresql-19-daily-brief-day-16-2026-12-04
categories = ["Backend & Data Systems"]
tags = ["postgresql", "postgresql-19", "database-internals", "backend-architecture", "daily-briefing"]
excerpt = Day 16 of the PostgreSQL 19 daily brief: REPACK CONCURRENTLY limits, pg_plan_advice plan pinning in production, standby read-your-writes with WAIT FOR LSN, sequence logical replication, and foreign key check speedups. Real adoption signals from the community.
series = "PostgreSQL 19 Daily Brief"
series_position = "Day 16"
author = "Marcus Vance"
author_role = "Lead Systems & Backend Architect"