Introducing Neon Labs
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.
Related posts
- Why Does Everyone Run Ancient Postgres Versions?
Neon easyNovice
Many teams stay on old Postgres major versions because older releases already meet most needs and major upgrades are costly: they can break backward compatibility and usually require logical replication, incremental table migration, testing and a planned cutover. Knock (11 to 15) and Retool (9 to 13, 4 TB) both followed that pattern, including separate publications with copy_data = false for large append-only tables and feature-flagged traffic switching. Reasons to upgrade anyway include the five-year support lifecycle, the growing difficulty of skipping many versions, performance gains such as roughly halved tail latency since version 8, and ecosystem compatibility. The pgversions.com tool lists the security fixes, bug fixes and features a given version is missing.
- Debug your Postgres from the terminal: a tour of `neon inspect db`
Neon mediumAdept
`neon inspect db` adds fourteen read-only Postgres diagnostic subcommands to the Neon CLI, each running one curated query against Postgres statistics and catalog views (table/index sizes, bloat, unused indexes, seq scans, long-running queries, locks, pg_stat_statements outliers and calls, vacuum stats, replication slots, subscriptions). Connections resolve automatically for linked Neon projects, and most commands also work on any Postgres via `--db-url`. Output is bounded and available as JSON or YAML, which makes it safer for agents than raw SQL access. Neon-specific commands report Local File Cache hit rate (aim for 0.99+) and working set versus LFC size to signal when to scale compute, since Neon pins shared_buffers at 128 MB.
- 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.
- 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.
- Just landed in the Neon CLI
Neon mediumAdept
The Neon CLI is renamed from neonctl to neon (old name kept as an alias) and gains a branch-first workflow built on `neon link`, `neon checkout` and `neon env pull`, which store project/branch context in a local .neon file and rewrite only Neon-managed env vars. New commands include `neon inspect db` for read-only Postgres diagnostics (bloat, unused indexes, locks, pg_stat_statements outliers, cache hit rate), `neon diff` for git-style schema diffs, snapshots, project-scoped API keys and credential profiles for CI and agents, and a raw `neon api` fallback. `neon init` sets up MCP and agent skills in one step, and a suggested AGENTS.md snippet steers coding agents toward the branch-per-feature loop.