Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Supabase 3 min read Release easyNovice

What's new in Postgres 15?

PostgreSQL 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.

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.

  • PostgreSQL 15: Three features you can try with Neon

    Neon mediumAdept

    Neon now supports PostgreSQL 15, and three of its features can be tried from Neon's SQL Editor with runnable examples. MERGE performs insert, update or delete in a single statement, though unlike INSERT ON CONFLICT it can fail with a unique violation under concurrent inserts. CREATE privilege on the public schema is no longer granted to all users, so non-owners must be granted it explicitly. UNIQUE NULLS NOT DISTINCT lets a unique constraint permit only one NULL value.

  • Declarative Schemas 2.0 with pg-delta

    Supabase mediumAdept

    Supabase replaced migra with pg-delta, its own open-source Postgres diff engine, as the generator behind declarative schema migrations in the Supabase CLI. pg-delta loads schema files and migration history into two shadow databases, diffs them by reading the system catalog, and orders output with a catalog-derived dependency graph. Generated migrations now cover RLS alter policy, grants, column privileges, view security_invoker, comments, roles, domains, publications, and extension-owned objects, which it changes through extension APIs such as pgmq and pg_cron. The engine favors coverage over minimal destructiveness: renames become drop-plus-add and need hand rewriting. It also skips data rows such as storage buckets, and a first parser-based design was scrapped because the SQL parser and catalog reader disagreed.

  • New in PostgreSQL 14: What every developer should know

    Supabase mediumAdept

    PostgreSQL 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.

  • 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.

The quest for software engineering knowledge.

Look:
Layout: