Skip to content
dbexplore

PostgreSQL 19

What PostgreSQL 19 changed in monitoring

Released 19 November 2026, supported until 19 November 2031. 3 pages so far, each verified against PostgreSQL 19.0.

PostgreSQL 19 changes how an operator rewrites a table and how a plan can be held in place, and it moves several defaults that runbooks assume. VACUUM FULL and CLUSTER become spellings of one command, REPACK. Its concurrent mode copies the table under SHARE UPDATE EXCLUSIVE, borrowing a temporary logical replication slot to capture changes, and takes the exclusive lock only to swap the files. While the swap waits for that lock, every new query on the table queues behind it. Two contrib modules let you constrain the planner, one per session and one stored against a query identifier, the first per-query plan control shipped with PostgreSQL. The buffer wait events were renamed and the content wait split three ways, so a filter on the old names returns nothing instead of failing. JIT is now off unless you switch it on. The default for max_locks_per_transaction doubled to 128, and because lock space is allocated differently, a value carried over from 18 has to double as well to keep the same capacity. Lock waits longer than the deadlock timeout are logged by default. New views report the score autovacuum uses to order the tables it visits, and waits per lock type, counting only waits that outlasted the deadlock timeout and were then granted. The wait-event page compares 18 and 19 query by query; the other two show 18 refusing the new command and run the rest on 19 alone, because the features are new.

The release notes for this version are at postgresql.org; every page below cites the section it draws on by name. The hub for every version carries the support calendar.

  1. PostgreSQL 19 breaks: none

    REPACK (CONCURRENTLY) in PostgreSQL 19

    For anyone who rewrites bloated tables with VACUUM FULL, CLUSTER or pg_repack and wants to know what the in-core replacement still locks.

  2. PostgreSQL 19 breaks: none

    Plan advice in PostgreSQL 19

    For anyone who has lost an afternoon to a plan that flipped and wants to know whether pinning it in 19 is the fix.

  3. PostgreSQL 19 breaks: silent

    PostgreSQL 19 renamed the buffer wait events

    For anyone whose dashboards, alerts or session-history queries filter on wait event names.

Grep your monitoring configuration for these

Every view, column and setting the pages above touch, in one list. A hit in an exporter query file, a dashboard definition or an alert rule is a place to read the page that names it.

  • BufferCleanup
  • BufferContent
  • BufferExclusive
  • BufferPin
  • BufferShareExclusive
  • BufferShared
  • EXPLAIN (PLAN_ADVICE)
  • REPACK
  • REPACK (CONCURRENTLY)
  • REPACK decoding worker
  • VACUUM FULL
  • WaitForWalFlush
  • compute_query_id
  • confl_bufferpin
  • effective_wal_level
  • lock_timeout
  • max_repack_replication_slots
  • pg_plan_advice
  • pg_plan_advice.advice
  • pg_plan_advice.feedback_warnings
  • pg_replication_slots
  • pg_set_stashed_advice
  • pg_stash_advice
  • pg_stash_advice.stash_name
  • pg_stat_activity.wait_event
  • pg_stat_activity.wait_event_type
  • pg_stat_database_conflicts
  • pg_stat_progress_cluster
  • pg_stat_progress_repack
  • pg_stat_statements.queryid
  • pg_wait_events

The failure modes these changes touch are in the reference guides; the terms the release notes assume are in the glossary. Across a fleet, the version is what decides where a signal lives, which is why engine discovery establishes it first.

Put every Postgres you run on autopilot.

We onboard teams in small batches. Tell us about your fleet and we will reach out when a seat opens. One email, no drip campaign.