Web development

PostgreSQL 19 is out: table maintenance without downtime and more stable queries

A new PostgreSQL version shipped on November 19. The highlights are REPACK (CONCURRENTLY), control over query plans and faster bulk inserts.

·2 min read·Source: PostgreSQL Global Development Group
Web development

On November 19, 2026, the PostgreSQL Global Development Group released PostgreSQL 19, a new major version of one of the most widely used open source databases. Many online stores, CRMs and analytics systems run on it. This time the focus is on making the database easier to maintain under load, without stopping the work.

Key points

  • REPACK (CONCURRENTLY) is a new command that removes table "bloat" (space left behind by frequent updates and deletes) without blocking reads or writes. Previously this meant VACUUM FULL or CLUSTER, which locked the table for the whole operation.
  • pg_plan_advice and pg_stash_advice are extensions that let you pin a good execution plan for a query. If a query suddenly slows down as data grows, you can fix it without changing application code.
  • Faster foreign key checks: in the developers' testing, bulk inserts became nearly 2x faster.
  • Autovacuum now processes indexes in parallel and decides which tables to clean first.
  • Logical replication can be enabled without a server restart and now replicates sequence values too.
  • For developers: INSERT … ON CONFLICT DO SELECT ("get or create" in a single query), COPY output as JSON, and WAIT FOR LSN for reading freshly written data from a replica.

What it means for business

If your website or CRM runs on PostgreSQL, the new version means less night-time database "repair". Order, cart and stock tables change constantly, and they are the ones that bloat the most and slow pages down. Now they can be maintained while the store keeps running.

There is no need to upgrade in the first days: let the community and hosting providers vet the release. What is useful right now:

  1. Check which PostgreSQL version you run and how long it is still supported.
  2. Plan a test upgrade on a copy of the database, including checks of key queries.
  3. Look at which tables bloat the most and which queries are the slowest.

We do this kind of work as part of database optimization. If you want to estimate what PostgreSQL 19 would bring to your project, get in touch.

This is our own summary and commentary. Original news, details and images — PostgreSQL Global Development Group.