Postgres 18 Is Out: Try it on Neon
Postgres 18 is available in preview on Neon's Free plan, and production upgrades should wait until it leaves preview. New features covered with SQL examples include B-tree skip scan on multicolumn indexes, EXPLAIN ANALYZE showing buffers by default, virtual generated columns as the default, native uuidv7(), OLD/NEW values in RETURNING, temporal WITHOUT OVERLAPS and PERIOD constraints, OAuth authentication, NOT NULL constraints marked NOT VALID, new autovacuum thresholds and parallel GIN index builds. The new asynchronous read I/O (io_method worker, io_uring or sync) is explained, but Neon still runs io_method='sync' with unoptimized prefetch and sequential scan paths, so PG 18 should not be benchmarked on Neon yet.
Related posts
- Postgres 18 Beta Is Out: 7 Features You Should Know About
Neon easyNovice
Postgres 18 Beta 1 introduces an asynchronous I/O subsystem selectable via io_method (sync, worker by default, or Linux io_uring), with early benchmarks showing 2–3x gains on read-heavy queries and a new pg_aios view for in-flight I/O. pg_upgrade now preserves planner statistics (except extended stats) and adds --jobs for parallel checks and --swap for swapping data directories, reducing post-upgrade slowdowns and downtime. Other highlights include richer EXPLAIN ANALYZE output (buffers by default, index lookup counts, WAL/CPU timing), per-table vacuum/analyze time stats, uuidv7(), parallel GIN builds, B-tree skip scan, IN(VALUES)/OR-to-ANY rewrites, and an OAuth 2.0 auth method with pluggable token validators.
- Postgres 19 is out: try it on Neon
Neon mediumAdept
Postgres 19 is an operations-focused release that adds REPACK (CONCURRENTLY) for online table rebuilding and clustering via logical decoding, pg_plan_advice/pg_stash_advice for stabilizing bad plans by query ID, parallel autovacuum with priority scoring, WAIT FOR LSN for read-your-writes on replicas, and logical replication sequence sync. REPACK CONCURRENTLY needs a replication slot, temporary disk for a full copy, and fails if more than ~104M tuples change during the run, and it is not MVCC-safe for older snapshots. Other additions include postgres_fdw statistics import, ON CONFLICT DO SELECT, JSON output for COPY TO, and new stats views. SQL/PGQ, FOR PORTION OF, partition merge/split and GROUP BY ALL were reverted before GA.
- Top 3 features in Postgres 17
Neon mediumAdept
Postgres 17 adds RETURNING support to MERGE (with a merge_action() function that reports whether each row was inserted, updated or deleted), SQL/JSON functions including JSON_TABLE for turning JSON into relational rows, and performance work. On the performance side, vacuum uses a new data structure that cuts memory use by up to 20x and lifts the 1GB cap, and B-tree scans handle IN-lists faster. Neon engineers contributed to EXPLAIN (SERIALIZE), parallel BRIN index builds, direct TLS handshakes, event triggers on client connect, and amcheck validation of B-tree uniqueness.
- Postgres 17 is Now Available on Neon
Neon mediumAdept
Postgres 17 is available on Neon for all plans, including Free, and can be provisioned in a few steps. The post walks through new PG17 features with runnable SQL: MERGE with RETURNING and merge_action(), random(min, max) for generating test data, JSON_TABLE for turning JSON into relational rows, the sslnegotiation=direct connection parameter, and EXPLAIN reporting planner memory usage. Neon's proxy supports direct SSL negotiation even for older server versions, which cut a sample psql connection from 0.87s to 0.75s. Major version upgrades on Neon still require manual steps and a check of extension compatibility.
- Introducing Neon Labs
Neon mediumAdept
Neon Labs launches with two experimental tools for major Postgres version upgrades on Neon, where pg_upgrade isn't supported and an upgrade means migrating into a new project. The Upgrade Assessment runs read-only pg_catalog queries and flags blockers such as unsupported extensions, PG15 public-schema permission changes, PG17 search_path restrictions, PG18 virtual generated columns, and tables lacking replica identity. The Migration Assistant picks Import (<10 GB), pg_dump/pg_restore (10–200 GB) or logical replication for larger databases. For replication it handles schema copy, lag and slot-activity monitoring, sequence resets to avoid post-cutover duplicate keys, and running ANALYZE on the target before traffic arrives, since pg_statistic isn't carried over.