PostgreSQL 19 lets you repack tables without blocking reads or writes

PostgreSQL 19 ships a new REPACK command that reclaims disk space and reorganizes tables, with a CONCURRENTLY option that avoids blocking reads and writes. The release also adds pg_plan_advice for steering the query planner, enables logical replication without a server restart, replicates sequence values, and brings read-your-writes consistency to standbys via a new WAIT command. JIT is now off by default, and RADIUS support is removed.

PostgreSQL only supported RADIUS over UDP, which is unfixably insecure.
  1. dbgobrrr

    Amazing release, really exciting features:

    - REPACK CONCURRENTLY to reclaim disk space, which also affects performance.

    - Logical replication of sequences - Fantastic addition. This is a missing piece in the major-version upgrade story which required extra scripting, and enable additional usecases.

    - WAIT FOR LSN is a game-changer for read-replicas. For read-after-write, where the write goes to the master and the read hits a random replica. And also read-after-read, where each read may hit different replicas.

    Add to that additional performance improvement and the plan advice extension, this makes 19 one of the most exciting releases of PostgreSQL.

    Big big big kudos to the contributors, thank you!

  2. arnejenssen

    A huge thank you to all contributors for this gift

  3. BitPirate

    > Change JIT to be disabled by default (Jelte Fennema-Nio)

    That was long overdue. The performance impact on perfectly fine tuned queries was horrendous.

    It's also disabled by most OSM apps that make heavy use of PostGIS for exactly that reason.

    Maybe it wouldn't be that bad if a copy-and-patch kind of JIT would be used?

  4. murkt

    This is the most bug-free .0 release of Postgres. I am always waiting for at least .1 or .2 before upgrading. But should I wait this time?

  5. lbriner

    I always wondered why sequence numbers weren't replicated, it added another step to the stress of upgrading via pg_backup but thanks for adding it to PG19!

More from this day

2026-11-20