PostgreSQL 19 Is Here: Repack Without the Downtime
PostgreSQL 19 landed on November 19, 2026 with REPACK (CONCURRENTLY), plan advice that fixes slow queries without touching your app, and read-your-writes on standbys. Here are the features that change everyday database work, and the upgrade checklist.
Amir Ali Liaqat · Founder & CEO, DesignsToDeploy

PostgreSQL 19 landed on November 19, 2026, and the PostgreSQL Global Development Group sums up the release in one idea: run Postgres at scale without disruption. It is the annual major release, and it is not a rewrite. It is a set of practical tools that let database teams clean up, stabilize, and scale the database they already run, plus a few building blocks that will pay off for years. If your app runs on Postgres, whether behind a MERN stack, a Next.js app, or a custom platform, here is what actually changes.
The three features that matter most
REPACK is the headline, and it is the one operators will feel first. Tables that receive many updates and deletes build up unused space, known as bloat, which slows queries and wastes disk. The old tools for this, VACUUM FULL and CLUSTER, worked but blocked access to the table until the cleanup finished, so the work always needed a maintenance window. PostgreSQL 19 adds the REPACK command, which reclaims that space and can reorder a table's data to match an index. With REPACK (CONCURRENTLY), it does so without blocking reads or writes, so the cleanup can run during business hours. REPACK replaces VACUUM FULL and CLUSTER, both of which remain available for compatibility, and progress is visible through a new pg_stat_progress_repack monitoring view.
The second feature is for anyone who has watched a query suddenly get slower for no visible reason. The planner usually picks an efficient plan for each query, but the plan can change as data changes, and sometimes the new plan is slower. PostgreSQL 19 adds the pg_plan_advice extension, which lets you stabilize plan choices and experiment with different plans using a small plan advice mini-language. The companion pg_stash_advice extension stores advice and automatically applies it to queries based on their query identifier, so you can fix a slow plan without changing your application at all.
The third is WAIT FOR LSN, and it solves a problem every team with read replicas has met. When an app writes on the primary and reads from a standby, the read can land before the standby has replayed the write, so the app reads data it just wrote and finds nothing. A session on a standby can now use WAIT FOR LSN to wait until the standby has replayed the write-ahead log up to a specific log sequence number before running a query. That is read-your-writes consistency, built into the database instead of bolted on in the application.
For developers: small syntax, real savings
The developer features are small individually and add up fast. INSERT ... ON CONFLICT DO SELECT lets the RETURNING clause return existing rows that conflict with an insert, which turns the common get or create pattern into a single round trip instead of a select, then an insert, then a retry. COPY can now output data as JSON, including as a single JSON array, which makes exports and data pipelines simpler. The SQL/JSON path language adds string methods such as lower(), upper(), replace(), split_part() and btrim(), and the lead(), lag(), first_value(), last_value() and nth_value() window functions can now skip NULL values with IGNORE NULLS. The random() function can now generate random dates and timestamps within a range, which is a small gift for anyone writing seed data and tests.
Under the hood, many workloads get faster with no application changes. Foreign-key checks are faster, which in the project's testing made bulk inserts nearly 2x faster. The planner converts NOT IN clauses to more efficient anti-joins when NULL values are not present, and performs eager aggregation before joins to reduce the number of rows to process. The asynchronous I/O subsystem from PostgreSQL 18 now scales itself: when io_method is set to worker, the default, PostgreSQL automatically adjusts the number of I/O workers between the new io_min_workers and io_max_workers settings. Autovacuum also keeps up better on busy systems, vacuuming indexes with parallel workers and prioritizing tables through a new scoring system, and new monitoring views (pg_stat_lock, pg_stat_recovery, pg_stat_autovacuum_scores) show what it is doing.
What to watch before you upgrade
PostgreSQL 19 also changes a few defaults worth knowing about before you upgrade. Just-in-time compilation is now disabled by default, because the cost estimates used to decide when to use it proved unreliable, so teams running many large analytical queries may want to re-enable it. RADIUS authentication is removed, md5 password authentication now warns on success and is deprecated, and server-side SNI support lets one server present different TLS certificates per hostname. Logical replication gets easier too: creating the first logical replication slot automatically raises the effective WAL level to logical, sequences can now be replicated with FOR ALL SEQUENCES, and CREATE PUBLICATION gains an EXCEPT clause. And the calendar matters as much as the features: PostgreSQL 14 left support on November 12, 2026, so a cluster still on 14 no longer receives fixes.
What to do now
- TEST: upgrade in staging first, and read the release notes for incompatibilities. JIT is now off by default, so check analytical workloads.
- REPACK: replace VACUUM FULL and CLUSTER maintenance windows with REPACK (CONCURRENTLY). Bloated tables can now be cleaned during business hours.
- PIN THE PLAN: if a query plan flips after the upgrade, pg_plan_advice can pin the good one without an application change.
- MOVE OFF 14: PostgreSQL 14 left support on November 12, 2026. If you are still on 14, plan the move now, not when the next vulnerability lands.
“Upgrade in staging. Repack in production.”
— DesignsToDeploy
PostgreSQL 19 is not the kind of release that makes headlines for a rewrite. It is the kind that makes the database you already run cheaper to operate, easier to keep fast, and safer to upgrade, every single day. That is the whole point of a mature database release. At DesignsToDeploy we build on PostgreSQL every day, from MERN backends to custom platforms and APIs, so this is a release we are testing in staging now and adopting feature by feature. If your site or app runs on Postgres and you want the upgrade planned properly, talk to us at designstodeploy.dev.
1 / 5Keep reading

CSS Grid vs Flexbox: The One Rule That Ends the Debate
Flexbox is one-dimensional, Grid is two-dimensional. The rule from the W3C spec editor who wrote both specifications, plus when each one wins, the nested pattern production sites actually use, and the code to prove it.
Read article
Tailwind CSS vs Bootstrap: Stop Picking Blind
Tailwind and Bootstrap both build modern UIs, but they think about CSS in opposite ways. Here is the real difference between utility-first and component-first styling, what changed in Tailwind v4 and the Bootstrap 6 alpha, and the decision rules we use to pick one for a project.
Read article
Static and Personal, on the Same Page: Next.js 16.4 and Cache Components
Next.js 16.4 makes Cache Components the recommended caching model for every Next.js app. One page can now mix cached and personal content, per component. Here is what 'use cache' changes, the three-step adoption plan, and why you should upgrade to 16.4.1 first.
Read article