Top 3 features in Postgres 17
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.
Related posts
- 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.
- New in PostgreSQL 14: What every developer should know
Supabase mediumAdeptPostgreSQL 14 adds JSON subscripting for jsonb, multirange types such as tsmultirange for storing non-contiguous ranges in one value, and client-side query pipelining in libpq to cut round-trip latency. It also brings parallelism improvements for sequential scans, foreign data wrappers and materialized view refreshes. query_id now appears in pg_stat_activity, EXPLAIN VERBOSE and logs once compute_query_id is enabled. On security, the predefined pg_read_all_data role grants read-only access in one statement, and SCRAM-SHA-256 is now the default password hashing, so older clients may need upgrading.
- What's New in PostgreSQL 14?
Render mediumAdept
PostgreSQL 14 adds jsonb subscripting, which lets queries read, filter and update nested JSONB values with JavaScript-like bracket syntax instead of path operators such as #>. It also adds multirange types, which store several non-overlapping ranges, such as an all-day meeting with a lunch break, as a single value rather than multiple rows. Concurrent connection handling is notably faster: pganalyze's pgbench tests showed roughly 20% higher throughput at 5,000 connections and 50% at 10,000 compared with PostgreSQL 13. Render offered PostgreSQL 14 on release day.
- What's new in Postgres 15?
Supabase easyNovicePostgreSQL 15 tightens the default permission model by revoking CREATE on the public schema from non-owners and adds security_invoker views that check the caller's permissions. Other headline changes include in-memory and on-disk sorts up to 4x faster, the SQL-standard MERGE command, and row/column filtering, two-phase commit and conflict-skipping options for logical replication. It also brings parallel SELECT DISTINCT, JSON logging, Zstandard/LZ4 compression for WAL and server-side base backups, and new regexp functions. The recommendation is to upgrade mainly for bug fixes and stability, using pg_upgrade and checking the release notes for cases that need manual action, such as revoking public-schema CREATE on migrated databases.
- 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.