PostgreSQL 19 Daily Brief — Day 17: December 05, 2026

//

//

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 小时在线重组。

image

目录

特性提交日志

为 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

Source: https://dev.to/gabrielanhaia/vacuum-full-locks-your-table-the-whole-time-postgres-19s-repack-concurrently-doesnt-186

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

Source: https://imasters.com/banco-de-dados/repack-concurrently-in-postgresql-19-the-real-cost-of-running-it-in-production

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

Source: https://opensource-db.com/pg19-hacktober-31-days-of-new-features-automatic-scaling-of-postgresql-i-o-worker-processes

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_transaction and 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

  1. If you run logical replication: test sequence replication on a staging subscriber before upgrading the publisher.
  2. Evaluate REPACK CONCURRENTLY on your most bloated tables — check pg_class.relpages vs pg_relation_size first.
  3. Add pg_plan_advice to your monitoring stack; start capturing planner decisions that need pinning.
  4. Review standby promotion procedures: WAIT FOR LSN changes the consistency calculus for read replicas.
  5. Schedule FK-heavy bulk loads to benefit from the 2x check speedup — partition maintenance windows may shrink.

Sources

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"

// THE TRANSMISSION LOG : FIELD NOTES

Weekly zero-fluff breakdowns of distributed systems, browser runtime performance, and production post-mortems delivered directly from Stella Sage.