Neon Blog· Savannah Longoria·· 14d ago
PostgreSQL 19 Goes GA and Is Available on Neon
Postgres 19 is out: try it on Neon
Key Takeaway
PostgreSQL 19 is generally available, and Neon offers same-day projects on version 19, including on its Free plan.
Why It Matters
PostgreSQL 19 brings table repacking, plan advice, replication coordination, and richer diagnostics into core while retaining important locking and resource constraints for concurrent repacking.
Technical Breakdown · Distilled from the original source
Concurrent repacking and autovacuum
REPACK (CONCURRENTLY)allows normal reads and writes during most of the rebuild and captures changes through logical decoding. It still takes anACCESS EXCLUSIVElock to apply remaining changes and swap files. It requires an extra replication slot, temporary disk space, and a non-deferrable primary key or suitable index-based replica identity. After it commits, transactions using snapshots taken before the repack began can see an empty table.- Autovacuum can use parallel workers for index vacuuming, controlled by
autovacuum_max_parallel_workers. Thepg_stat_autovacuum_scoresview shows how tables are prioritized for vacuuming and analysis.
Query plans and logical replication
pg_plan_advicecan influence plan selection without rewriting application SQL.pg_stash_advicestores advice by query ID and applies it automatically. Amatchedresult fromEXPLAINconfirms that the plan follows the advice, not that it runs faster; test it against the actual workload.- With
wal_levelset toreplica, creating the first valid logical replication slot activates logical decoding without a restart. A subscription created withcopy_dataenabled can copy initial sequence values, but subsequent changes are not streamed continuously.
Production upgrade checks
- Neon recommends testing real queries and workloads in a separate PostgreSQL 19 project, comparing performance and behavior with the current version, and confirming extension support before migrating.
Source: Neon Blog· neon.com
PG Radar summarizes verified changes and impact. Read the original post for full technical details and code samples.