Postgres 17 is Now Available on Neon
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.
Related posts
- 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.
- Better Postgres with Prisma Experience
Neon mediumAdept
Prisma users on Neon can now use a single pooled Postgres connection string for both serverless queries and schema migrations, replacing separate pooled, direct and shadow database URLs. PgBouncer 1.22.0 added support for prepared statements and DISCARD ALL/DEALLOCATE ALL, which fixes the "prepared statement already exists" errors `prisma migrate` used to hit through the pooler, and the `pgbouncer=true` parameter is no longer needed. Neon also enabled role and database management via SQL, and Prisma 5.10.0 added DROP DATABASE WITH (FORCE), so `prisma migrate dev` can create and drop its own shadow database without manual setup.
- Postgres 18 Is Out: Try it on Neon
Neon mediumAdept
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.
- Improving the developer experience for Prisma users
Neon mediumAdept
Neon shipped three changes to smooth Prisma integration: faster cold starts from scale-to-zero, simultaneous pooled (PgBouncer) and direct connection strings, and SQL-based role/database management that removes the need for a manual shadow database. Prisma 5 users in the same region as their database likely no longer need a raised connect_timeout to avoid P1001 errors. Prisma Migrate fails over PgBouncer with a "prepared statement already exists" error, so the pooled `-pooler` endpoint goes in `url` and the direct endpoint in `directUrl` in schema.prisma. The `shadowDatabaseUrl` workaround can now be dropped.
- 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.