Blog
IntermediateReferenceDatabases

PostgreSQL 19 - what is new and the upgrade checklist

PostgreSQL 19 release status, an overview of every feature area - REPACK, WAIT and sequence replication, parallel and scored autovacuum, plan advice, I/O autoscaling, the monitoring additions and the new SQL surface - and the upgrade checklist to work through before migrating.

Applies to
PostgreSQL19PostgreSQL 19.0 was released on 19 November 2026. Everything on this page is checked against the GA release notes and documentation.
growingUpdated Reviewed
intermediateAssumes working familiarity; skips the fundamentals.

Concepts covered

PostgreSQL 19 was released on 19 November 2026. The feature set described on these pages is what shipped - checked against the GA release notes rather than the beta documentation they were originally written from. Each card below opens a page that goes deep on one feature area; the upgrade checklist at the end is the part to read before touching a cluster.

10feature areas
19upgrade checks
19.0released 19 Nov 2026
  1. New commandREPACK

    How PostgreSQL reclaims dead-tuple space by rewriting a table - the pg_repack extension's trigger-and-log-table mechanism that carried PG 15-18, and the native REPACK command landing in PG 19 that replaces the trigger with logical decoding.

  2. ReplicationReplication and WAIT

    PostgreSQL 19's replication changes - the WAIT command for read-your-writes on standbys, logical replication of sequences, the publication EXCEPT clause, retain_dead_tuples conflict detection, and wal_level replica gaining logical capability on demand.

  3. MaintenanceAutovacuum

    What PostgreSQL 19 changes in autovacuum - parallel index vacuuming controlled by autovacuum_max_parallel_workers, a five-component scoring system that decides which tables get vacuumed first, and the new monitoring surface around it.

  4. I/O subsystemAsynchronous I/O

    What PostgreSQL 19 changes in the asynchronous I/O subsystem that arrived in 18 - I/O workers that scale themselves between io_min_workers and io_max_workers, better read-ahead scheduling for large requests, and the EXPLAIN IO output that shows it working.

  5. MonitoringMonitoring

    A diagnostic runbook for what PostgreSQL 19 adds to the monitoring surface - pg_stat_lock, pg_stat_recovery, new wait events, per-process-type log levels, stats_reset columns, WAL full-page-image bytes and the wraparound warning change - with the queries to use them.

  6. New extensionsPlan advice

    PostgreSQL 19's answer to plan instability - the pg_plan_advice module that turns planner decisions into an editable advice string, and pg_stash_advice which applies that advice automatically per query ID, with the failure modes of each.

  7. SQL surfaceSQL and COPY

    The SQL surface PostgreSQL 19 adds - INSERT ON CONFLICT DO SELECT, window IGNORE NULLS, COPY TO JSON and partitioned tables, GRANTED BY, CHECK constraint enforcement toggles, oid8, jsonpath methods and the new encodings. Performance and I/O changes have their own page.

  8. ToolingMaintenance extensions

    The contrib modules that inspect and repair what PostgreSQL 19's maintenance changes touch - pg_visibility for the visibility map that scans now write, pgrowlocks for per-row lock detail under pg_stat_lock, pg_surgery for the corruption cases that block vacuum, and pg_prewarm for cache warmup. None changed in 19; all are more relevant because of it.

  9. Planner & executorPerformance

    The PostgreSQL 19 changes that do not each rate their own page - NOT IN to anti-join rewriting, aggregate-before-join planning, radix sort and SIMD parsing, faster foreign-key checks, visibility-map writes from scans, and the statistics tooling - and which ones can change plans on upgrade.

  10. Internalspg_buffercache

    What PostgreSQL 19 changes in pg_buffercache - the shared memory mapping refactor that produces pg_buffercache_os_pages and pg_buffercache_numa views, the NUMA cost warning behind them, and the new mark_dirty functions that dirty buffers deliberately for testing.

What is not in 19

The SQL/PGQ property-graph syntax (GRAPH_TABLE) does not appear in the release notes and its documentation pages return 404 - it is not shipping in 19 despite occasional write-ups listing it. Also absent from the release: io_uring remains unavailable as an io_method in the documented options.

What to check before upgrading

These are the incompatibilities listed in the release notes’ migration section - the changes that make an upgrade fail or behave differently rather than merely add features. The last column is what to check on your current cluster before you run pg_upgrade.

Change in 19 Effect Check before upgrading
JIT disabled by default Large analytical queries lose JIT compilation unless jit = on is set Whether your workload relies on JIT; plan to enable it explicitly
max_locks_per_transaction default 64 to 128 Lock entry size allocation changed, so values must be doubled to match previous capacity Any tuned max_locks_per_transaction or max_pred_locks_per_transaction needs doubling, not carrying over
default_toast_compression now lz4 New TOASTed values compress differently; old pglz values still read Nothing breaks; mixed compression is normal. Verify lz4 is acceptable where CPU is constrained
wal_compression = on picks an available method rather than pglz Previously on always meant pglz WAL volume and CPU may shift on upgrade; check if you pinned a method assuming pglz
RADIUS authentication removed radius in pg_hba.conf no longer exists; PostgreSQL only ever supported RADIUS over UDP, which the project calls unfixably insecure Any pg_hba.conf line with radius; migrate to LDAP or certificate auth
standard_conforming_strings forced on The setting can no longer be turned off server-side; escape_string_warning is removed Dumps made by pre-19 pg_dump with standard_conforming_strings = off will not load - re-dump with a 19 client or with the setting on
Warning after successful MD5 password authentication md5_password_warnings (default on) logs a warning per login Rotate MD5 passwords to SCRAM; MD5 was deprecated in 18
password_expiration_warning_threshold New GUC warns about expiring passwords; default seven days Expect new warnings in logs for roles near VALID UNTIL
CR/LF disallowed in database, role and tablespace names pg_upgrade refuses clusters that use them Check names for carriage returns or line feeds
inet/cidr opclass change in btree_gist Default opclasses move to GiST; the old btree_gist opclasses were broken (could exclude rows that should be returned) pg_upgrade refuses clusters with btree_gist inet/cidr indexes - drop and rebuild them on a fixed opclass
json_array() with no rows returns [] Previously returned NULL Application code testing for NULL from json_array()
COPY FROM ... WHERE rejects system columns Their values were never well-defined COPY scripts filtering on xmin, ctid and similar
postgres_fdw propagates READ ONLY/DEFERRABLE READ ONLY transactions can no longer write through foreign tables Anything deliberately writing via postgres_fdw inside read-only transactions
log_lock_waits enabled by default Lock waits over deadlock_timeout are now logged out of the box Log volume on contended systems
Parallel vacuum cost delay shared across workers Leader and workers now share the vacuum_cost_limit budget; previously each worker spent the full budget itself A parallel VACUUM with cost-based delay enabled can run slower than the same command on 18 - expect longer vacuum runtimes, not a fault
FTS and pg_trgm use the database locale provider Previously character classification always used libc; results can change where the provider (ICU, builtin) differs from LC_CTYPE On non-libc-provider databases, reindex full text search and pg_trgm indexes after pg_upgrade and recompute stored tsvector values
fuzzystrmatch non-ASCII handling changed dmetaphone()/dmetaphone_alt() upper-case using the database collation; soundex(), metaphone() and difference() treat only ASCII as letters Reindex indexes that use these functions after pg_upgrade
pg_stat_subscription_stats.sync_error_count renamed Now sync_table_error_count, because sequence errors are tracked separately in sync_seq_error_count Monitoring queries and dashboards referencing the old column name
Wait event type BUFFERPIN renamed to BUFFER Monitoring queries grouping by wait event type Dashboards and alerting on BUFFERPIN
MULE_INTERNAL encoding removed Databases using it must be dumped and restored under a different encoding SHOW server_encoding and per-database encodings
\crosstabview honours \pset null psql output change for null cells Scripts parsing crosstabview output
Index AM handlers use static IndexAmRoutines; get_relation_info_hook removed Extension-level breakage: index access methods and planner hooks must be updated Any C extensions or index AMs you carry; check they have 19 builds

Several of these are silent behaviour changes rather than hard failures: log_lock_waits on by default adds log lines, lz4 changes CPU characteristics of TOAST writes, and the NOT IN to anti join transformation can change plans. The hard blockers are the ones pg_upgrade refuses on: btree_gist inet/cidr indexes, CR/LF in names, and MULE_INTERNAL databases.

What breaks on upgrade, and how to see it

The failures an upgrade to 19 actually produces, grouped by how they surface:

  • pg_upgrade refuses the cluster. Three checks stop the upgrade outright rather than warn: inet/cidr indexes built on the broken btree_gist opclasses, carriage returns or line feeds in database, role or tablespace names, and databases encoded as MULE_INTERNAL. The check run (pg_upgrade --check) reports them in its log; the fixes are to rebuild the indexes on the new opclass, rename the objects, and dump/restore the affected databases under a supported encoding.
  • Dumps restored from older pg_dump fail to load cleanly. A dump made with standard_conforming_strings = off on a pre-19 pg_dump does not restore correctly into 19 - the symptom is corrupted or rejected string literals, not an obvious error at restore start. Re-dump with a 19 client or with the setting on.
  • RADIUS logins stop working. Any pg_hba.conf line using radius is rejected and affected clients cannot authenticate; the fix is LDAP or certificate authentication configured before the cutover.
  • Analytical queries slow down with no plan error. JIT is off by default, so large queries that relied on JIT compilation run slower. Check EXPLAIN - the JIT block disappears. Set jit = on where the workload needs it.
  • Reads returning NULL where an empty array was expected, or the reverse. json_array() on an empty set now returns [] not NULL; application code testing for NULL breaks quietly rather than erroring.
  • Monitoring and dashboards go dark on renamed columns and events. Queries against pg_stat_subscription_stats.sync_error_count fail (the column is sync_table_error_count now), and alerts grouping wait events by type BUFFERPIN or event BufferPin/BufferContent no longer match anything - renamed to BUFFER, BufferCleanup and the BufferShared/BufferShareExclusive/BufferExclusive set.
  • New warnings that look like faults. md5_password_warnings logs a warning on every successful MD5 login, password_expiration_warning_threshold warns for roles nearing VALID UNTIL, and log_lock_waits logs lock waits over deadlock_timeout - all three raise log volume on systems that were quiet before.

What this page is not for

It is a map, not the territory: it does not replace the per-feature pages behind the cards above - each carries a “what changed, and in which release” table against PostgreSQL 18 - and it is not upgrade instructions. For the mechanics of an actual upgrade - pg_upgrade versus dump/restore versus logical replication - the release notes’ migration section and the installation page are the references.

PostgreSQL release support

5 supported
ReleaseLatestReleased
1919.0Nov 2026
1818.7Sept 2025
1717.12Sept 2024
1616.16Sept 2023
1515.20Oct 2022

Data as of 2026-11-21 from endoflife.date. Refresh with node scripts/fetch-versions.mjs.

What to watch

Specific things that would change what this page concludes.

  • The first 19.x point releases - the initial GA of a major release is historically where late bugs surface

Where PostgreSQL sits

How this component relates to the rest of the stack. Items without a link are not covered here yet.

Depends on

Must be present for this to run

Deployed with

Commonly run alongside

Alternatives

Solves a similar problem differently