Takeaway: On November 19, 2026, the PostgreSQL Global Development Group released PostgreSQL 19. The official announcement highlights a new REPACK (CONCURRENTLY) command that can reclaim table bloat without blocking reads or writes, a pg_plan_advice extension for plan stability, “read-your-writes” consistency on standbys, and simpler logical replication setup. The details below come from that announcement, the PostgreSQL 19 release notes, and the project’s versioning policy.
This article does not invent cloud-provider availability dates, unofficial benchmarks, or a complete catalog of every compatibility change. The release notes remain the checklist for upgrades.
Concurrent table repack
Tables that take many updates and deletes can accumulate unused space, often called bloat, which can slow queries. Previously, VACUUM FULL and CLUSTER could reclaim or reorder that data, but they prevented access to the table until the work finished. PostgreSQL 19 introduces REPACK, which reclaims space and can reorder a table to match an index. With REPACK (CONCURRENTLY), the announcement says this can be done without blocking reads or writes.
The project describes REPACK as replacing VACUUM FULL and CLUSTER. Both older commands remain available for compatibility.
Plan advice and autovacuum
The planner usually chooses an efficient plan, but plans can change as data changes, and a new plan is sometimes slower. PostgreSQL 19 adds the pg_plan_advice extension so you can stabilize plan choices and try alternatives with a “plan advice” mini-language. The companion pg_stash_advice extension stores that advice and applies it automatically based on a query’s identifier, which the announcement says can fix a slow plan without changing the application.
Autovacuum also gets more room to keep up on busy systems. It can now vacuum indexes with parallel workers, controlled by the new autovacuum_max_parallel_workers setting, and it uses a new scoring system to decide which tables to process first. Queries that read a table can automatically mark pages as all-visible in the visibility map during execution, reducing later vacuum work. When no tables are specified, vacuumdb --analyze-only now analyzes partitioned tables.
New monitoring views include pg_stat_lock for per-lock-type statistics, pg_stat_recovery for recovery status, and pg_stat_autovacuum_scores for autovacuum priority. An IO option for EXPLAIN ANALYZE, with a matching auto_explain setting, reports asynchronous I/O activity. The amount of WAL written for full-page images is now reported in pg_stat_wal, in EXPLAIN (ANALYZE, WAL), and in vacuum and analyze log events.
Logical replication and standby reads
Enabling logical replication previously often required a server restart. PostgreSQL 19 automatically raises the effective WAL level to logical when you create the first logical replication slot. The release notes say logical replication can be enabled without a restart when wal_level is set to replica. A new effective_wal_level setting shows the WAL level in use.
You can now publish sequence values with FOR ALL SEQUENCES in CREATE PUBLICATION. That command also gains an EXCEPT clause to exclude tables when publishing FOR ALL TABLES. CREATE SUBSCRIPTION can take connection settings from a foreign server, such as one defined with postgres_fdw, using a SERVER clause. A retain_dead_tuples subscription option lets PostgreSQL detect updates that conflict with a concurrent delete, and those conflicts are counted in pg_stat_subscription_stats.
For applications that send reads to standbys, the announcement adds “read-your-writes” consistency with the new WAIT FOR LSN command. A session on a standby can wait until that standby has replayed WAL up to a given log sequence number before running a query, so the application can read data it just wrote on the primary. The release notes refer to this as the new WAIT command.
Foreign-table planning also changes. With the new import_stats option, postgres_fdw can import table statistics from the remote server when you run ANALYZE, instead of sampling remote rows.
SQL, performance, and defaults
On the SQL side, INSERT ... ON CONFLICT DO SELECT lets the RETURNING clause return existing rows that conflict with an insert, which the project describes as a “get or create” pattern that can save a network round trip. COPY can output data as JSON, including as a single JSON array. The SQL/JSON path language adds string methods such as lower(), upper(), replace(), split_part(), and btrim(). Window functions lead(), lag(), first_value(), last_value(), and nth_value() can skip nulls with IGNORE NULLS. The random() function can generate random dates and timestamps within a range.
The announcement says many workloads can get faster without application changes. Foreign-key checks improved, and in the project’s testing that made bulk inserts nearly twice as fast. The planner can convert NOT IN clauses to anti-joins when null values are not present, and it can perform eager aggregation before joins to reduce rows. PostgreSQL 19 also builds on the asynchronous I/O subsystem added in PostgreSQL 18. When io_method is worker (the default), the server automatically adjusts the number of I/O workers between the new io_min_workers and io_max_workers settings, which replace io_workers. The release also cites scalability improvements for LISTEN and NOTIFY in multi-channel workloads.
Just-in-time compilation (JIT) is now disabled by default, because the cost estimates used to decide when to use it proved unreliable. The announcement says sites that run many large analytical queries may want to turn JIT on. When PostgreSQL is built with LZ4 support, the default TOAST compression method is now lz4.
Security-related changes and upgrade notes
PostgreSQL 19 adds server-side Server Name Indication (SNI), so a single server can present a different TLS certificate based on the hostname the client uses. Hostnames map to certificates and keys in a new pg_hosts.conf file. A successful md5 password authentication now produces a warning, which you can turn off with md5_password_warnings. MD5 password authentication was deprecated in PostgreSQL 18 and will be removed in a future release; the announcement says to use SCRAM if you need password-based authentication. RADIUS authentication support is removed. A new password_expiration_warning_threshold setting warns when a password is about to expire; the release notes say the default warning period is seven days.
A major-version upgrade still requires a dump and restore with pg_dumpall, pg_upgrade, or logical replication. The release notes list many compatibility changes. Among them: the server now forces standard_conforming_strings to be on, and dumps created with older tools while that setting was off will not load properly into PostgreSQL 19 — create dumps with PostgreSQL 19 or later tools, or with the setting on. The default for max_locks_per_transaction changes from 64 to 128; because lock size allocation has changed, the notes say settings must be doubled to match earlier capacity. Carriage returns and line feeds are no longer allowed in database, role, and tablespace names, and pg_upgrade will refuse clusters that use them.
Support window and how to get it
Under the official versioning policy, the project supports each major version for five years after its initial release. The current policy table lists PostgreSQL 19 as first released on November 19, 2026, and supported through November 19, 2031. PostgreSQL 18 through 15 remain supported as of that table. PostgreSQL 14 reached its final release date of November 12, 2026, and is listed as unsupported.
Installers and packages are on the official download page, and source code is also available. PostgreSQL 19 is released under the PostgreSQL License, a BSD-like permissive license. Check the full release notes, including the migration section, before you upgrade a production cluster.
Frequently asked questions
When was PostgreSQL 19 released?
The PostgreSQL Global Development Group announced PostgreSQL 19 on November 19, 2026. The release notes give the same release date.
What does REPACK (CONCURRENTLY) do?
REPACK reclaims unused space and can reorder a table’s data to match an index. With the CONCURRENTLY option, the official announcement says this can run without blocking reads or writes, unlike VACUUM FULL and CLUSTER, which prevented access until they finished.
Do VACUUM FULL and CLUSTER still work?
Yes. The project says REPACK replaces those commands, but both remain available for compatibility.
How does read-your-writes consistency on standbys work?
The announcement adds a WAIT FOR LSN command. A session on a standby can wait until that standby has replayed WAL up to a specified log sequence number, then run a query so it can read data just written on the primary.
Can I enable logical replication without a restart?
The release notes say logical replication can be enabled without a server restart when wal_level is set to replica. Creating the first logical replication slot automatically raises the effective WAL level to logical, which you can inspect with effective_wal_level.
How long is PostgreSQL 19 supported?
The official versioning policy supports a major version for five years after its initial release. The policy table lists PostgreSQL 19 as supported from November 19, 2026, through November 19, 2031.
What should I check before upgrading?
A major upgrade requires dump and restore, pg_upgrade, or logical replication. Read the release notes’ migration section. Notable compatibility changes include forcing standard_conforming_strings on, removing RADIUS authentication, disabling JIT by default, and changing the default of max_locks_per_transaction from 64 to 128.
Is JIT still enabled by default?
No. JIT is disabled by default in PostgreSQL 19 because the cost estimates used to decide when to use it proved unreliable. The announcement says you may want to enable it if you run many large analytical queries.

Leave a Reply
You must be logged in to post a comment.