PostgreSQL 19 Daily Brief — Day 17th: December 05, 2026
Marcus Vance — Lead Systems & Backend Architect
December 05, 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 17 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
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
REPACK CONCURRENTLY in PostgreSQL 19: real cost | iMasters
The benchmark’s practical conclusion is that REPACK (CONCURRENTLY) pays off in most cases, by generating less WAL, not installing a trigger, and working on managed services, but two points call for caution in this version 19: the 105-million-change ceiling, which brings down the entire cluster if exceeded without vm.overcommit_memory=2 configured, with a fix planned for PostgreSQL 20, and the lack of automatic retry on the final lock, which discards all the work on a timeout and has no fix a
Adoption Reality Check
This is where the rubber meets the road. Release notes promise; production deployments deliver verdicts.
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
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
pg_upgrade to Postgres 19: 2 Seconds of Downtime, Timed
Source: https://selfhost.dev/blog/pg-upgrade-postgres-19
Wait if:
- you use TimescaleDB: there is no build for 19 yet, so keep it on 18 for now (Selfhost.dev runs managed TimescaleDB on Postgres 16, 17 and 18);
- you run many partitions with a tuned
max_locks_per_transactionand have not tested the doubled value; - your analytic workload depends on JIT and you have not compared it on 19;
- your standby and PITR setup cannot be rebuilt right after the upgrade.
If you can upgrade now, start with pg_upgrade --check on a copy of production today. If
PostgreSQL: Documentation: 19: pg_upgrade
Source: https://www.postgresql.org/docs/current/pgupgrade.html
-D --new-datadir=
the new database cluster configuration directory; environment variable PGDATANEW
-j njobs --jobs= njobs
number of simultaneous connections and processes/threads to use
-k--link
use hard links instead of copying files to the new cluster
-N--no-sync
By default, pg_upgrade will wait for all files of the upgraded cluster to be written safely to disk. This option causes pg_upgrade to return without waiting, which is faster, but means that a subsequent operatin
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… -
PostgreSQL Docker Official Image (docker-library/postgres) | Context7 — https://context7.com/docker-library/postgres
for a full refresh of all supported majors, or pass major numbers to refresh only those. Arguments are forwarded unchanged to both child scripts. “`bash ./update.sh # full refresh (all majors in v…
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
- VACUUM FULL Locks Your Table the Whole Time. Postgres 19’s REPACK CONCURRENTLY Doesn’t – DEV Community
- REPACK CONCURRENTLY in PostgreSQL 19: real cost | iMasters
- 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
- 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
- PostgreSQL: PostgreSQL 19 Released!
- Read your writes: WAIT FOR in PostgreSQL 19 | ClickHouse
- Postgres 19 Feature Preview: Sequence Synchronization for Logical Replication | Bytebase
- PostgreSQL 19 features I’m excited about | Bytebase
- PostgreSQL 19 Logical Replication – Sequence Sync, EXCEPT TABLE, and More
- Looking Forward to Postgres 19: Logically Sequenced
- PostgreSQL 19 Logical Replication: Testing Sequence Recovery and Consistency
- PostgreSQL: Documentation: 19: 3.3. Foreign Keys
- PostgreSQL 19 skips its fast FK check for partitioned parents. Here is how to get it back.
- Does adding a foreign key to an indexed column boost performance?
- PostgreSQL: Documentation: 19: E.1. Release 19
- Autovacuum in PostgreSQL 19: Parallel and Prioritised
- #day2 Pg19 Hacktober – Autovacuum Grows Up: Parallel Workers & the New Table-Priority Scoring System
- Inspect PostgreSQL 19 Autovacuum Priority Scores and Parallel Index Vacuum from a Desktop GUI · HiDataLinker
- 6 Powerful Enhancements in PostgreSQL 19 | Mafiree
- PostgreSQL: Release Notes
- Turning on Postgres logical replication without a restart – DEV Community
- Online WAL level change for logical decoding in PostgreSQL 19
- PostgreSQL: Documentation: 19: 19.5. Write Ahead Log
- 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 REPACK: A Complete Guide to Reclaiming Table Bloat – DEV Community
- PostgreSQL 19 REPACK CONCURRENTLY: Replace VACUUM FULL Safely — ADGSTUDIOS
- PostgreSQL: Documentation: 19: REPACK
- What is REPACK in Postgres 19? Plus the other new features | Layerbase
- Hints and hazards: pg_plan_advice in PG19 | ClickHouse
- 19: F.30. pg_plan_advice — help the planner get the right plan
- PostgreSQL 19 WAIT FOR LSN tested | NiharDaily
- PostgreSQL 19: WAIT FOR LSN Replaces Synchronous Replication | iMasters
- 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
- 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 19 Beta 2026: SQL Enhancements and Performance Breakthroughs Redefining the World’s Most Advanced Database
- PostgreSQL 19 interactive tour – VictoriaMetrics
- GitHub – BohdanSharubin/postgres-fk-benchmark · GitHub
- Performance Benchmark: Aurora PostgreSQL vs. Materialize | Materialize
- PostgreSQL 19 | Hacker News
- Postgres 19 is out, and it’s available on Neon and Databricks Lakebase | Hacker News
- PostgreSQL 19 Released | Hacker News
- PostgreSQL 19 Beta Reverts: What Was Pulled and Why
- 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
- PostgreSQL 19 Beta 2 is now available in Amazon RDS Database Preview Environment – AWS
- PostgreSQL 19 RC1 in Amazon RDS Preview—What to Test Now | Aseef Ahmed posted on the topic | LinkedIn
- PG19 Hacktober: 31 Days of New Features: Automatic Scaling of PostgreSQL I/O Worker Processes – OpenSourceDB
- PostgreSQL 19 upgrade checklist: what breaks | NiharDaily
- pg_upgrade to Postgres 19: 2 Seconds of Downtime, Timed
- PostgreSQL: Documentation: 19: pg_upgrade
- PostgreSQL: Documentation: 19: pg_upgrade
- Do you need separate systems when you already have Postgres? | Hacker News
- Postgres for everything, does it work? | Hacker News
- 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]
- PostgreSQL 19: Graph Queries Reverted Before Release | Blog
- "Error: in 18+, these Docker images are configured…" after pulling PostgreSQL 19 with postgres:latest — CyberNative
- [image]: PostgreSQL 19 · Issue #755 · docker-hardened-images/catalog · GitHub
- Beta Testing PostgreSQL 19 With Docker | Software Engineer, Author, High Performance PostgreSQL for Rails
- Cloud PostgreSQL on AWS, Azure and Google Cloud Compared
- PostgreSQL 19 Automatic I/O Worker Scaling | OpenSource DB posted on the topic | LinkedIn
- 𝐏𝐨𝐬𝐭𝐠𝐫𝐞𝐒𝐐𝐋 19, 𝐃𝐚𝐲 8 𝐨𝐟 9: 𝐚𝐬𝐲𝐧𝐜 𝐈/𝐎 𝐭𝐡𝐚𝐭 𝐭𝐮𝐧𝐞𝐬 𝐢𝐭𝐬𝐞𝐥𝐟 | Manosh Malai
- PostgreSQL Docker Official Image (docker-library/postgres) | Context7
- cimg/postgres – Docker Image
- Best Managed PostgreSQL Hosting in 2026: Compared by Use Case
- PostgreSQL Cloud Playbook for 2026 on AWS, Azure, and GCP – M’Tech Research
Scheduling
publish = 2026-12-05 15:00:00 America/New_York
slug = postgresql-19-daily-brief-day-17-2026-12-05
categories = ["Backend & Data Systems"]
tags = ["postgresql", "postgresql-19", "database-internals", "backend-architecture", "daily-briefing"]
excerpt = Day 17 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 17"
author = "Marcus Vance"
author_role = "Lead Systems & Backend Architect"