---
title: "What's new in Postgres 15?"
description: "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."
url: "https://swe.quest/articles/what-s-new-in-postgres-15-a6b4172551a1b66b"
canonical: "https://supabase.com/blog/new-in-postgres-15"
source: "Supabase"
published: "2022-12-16"
difficulty: "easy"
kind: "Release"
reading_minutes: 3
tags: ["postgres","replication","sql"]
---

# What's new in Postgres 15?

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2022-12-16, 3 min read, Release. Original: [https://supabase.com/blog/new-in-postgres-15](https://supabase.com/blog/new-in-postgres-15)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)
- [SQL](https://swe.quest/tags/sql.md) (Languages)

## Prerequisites

- PostgreSQL administration basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- SQL ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

PostgreSQL 15, MERGE, logical replication, Zstandard, LZ4, pg\_upgrade, Supabase

## Related posts

- [Top 3 features in Postgres 17](https://swe.quest/articles/top-3-features-in-postgres-17-b0d086972cf3cc60.md): Neon · 2024-08-30 · Medium · 5 min read · PostgreSQL, SQL
  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.
- [PostgreSQL 15: Three features you can try with Neon](https://swe.quest/articles/postgresql-15-three-features-you-can-try-with-neon-d9568102bec3b3d5.md): Neon · 2022-10-26 · Medium · 3 min read · PostgreSQL, SQL
  Neon now supports PostgreSQL 15, and three of its features can be tried from Neon's SQL Editor with runnable examples.
- [Declarative Schemas 2.0 with pg-delta](https://swe.quest/articles/declarative-schemas-2-0-with-pg-delta-0896bf8f6c8dbe4f.md): Supabase · 2026-10-13 · Medium · 11 min read · Schema migrations, PostgreSQL, Developer tools, Open source
  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.
- [New in PostgreSQL 14: What every developer should know](https://swe.quest/articles/new-in-postgresql-14-what-every-developer-should-know-e3634d2eaebf30b0.md): Supabase · 2021-11-28 · Medium · 5 min read · PostgreSQL, SQL
  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.
- [Postgres 19 is out: try it on Neon](https://swe.quest/articles/postgres-19-is-out-try-it-on-neon-e6c41c3a4f2e92c9.md): Neon · 2026-11-19 · Medium · 12 min read · PostgreSQL, Replication, Query engines, Databases
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
