---
title: "PostgreSQL 15: Three features you can try with Neon"
description: "Neon now supports PostgreSQL 15, and three of its features can be tried from Neon's SQL Editor with runnable examples."
url: "https://swe.quest/articles/postgresql-15-three-features-you-can-try-with-neon-d9568102bec3b3d5"
canonical: "https://neon.com/blog/postgresql-15-three-features-you-can-try-with-neon"
source: "Neon"
published: "2022-10-26"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 3
tags: ["postgres","sql"]
---

# PostgreSQL 15: Three features you can try with Neon

A post on [Neon](https://swe.quest/sources/neon.md), published 2022-10-26, 3 min read, Announcement. Original: [https://neon.com/blog/postgresql-15-three-features-you-can-try-with-neon](https://neon.com/blog/postgresql-15-three-features-you-can-try-with-neon)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

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

## Prerequisites

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

## Keywords

PostgreSQL 15, Neon, MERGE, UNIQUE NULLS NOT DISTINCT, INSERT ON CONFLICT

## Related posts

- [What's new in Postgres 15?](https://swe.quest/articles/what-s-new-in-postgres-15-a6b4172551a1b66b.md): Supabase · 2022-12-16 · Easy · 3 min read · PostgreSQL, Replication, SQL
  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.
- [Postgres 17 is Now Available on Neon](https://swe.quest/articles/postgres-17-is-now-available-on-neon-84c88d00e9905bce.md): Neon · 2024-09-26 · Medium · 6 min read · PostgreSQL, SQL
  Postgres 17 is available on Neon for all plans, including Free, and can be provisioned in a few steps.
- [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.
- [Better Postgres with Prisma Experience](https://swe.quest/articles/better-postgres-with-prisma-experience-595f740758817ccf.md): Neon · 2024-03-07 · Medium · 4 min read · PostgreSQL, Schema migrations, Serverless, TypeScript
  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.
- [Navigating PostgreSQL Locks with Neon and Atlas](https://swe.quest/articles/navigating-postgresql-locks-with-neon-and-atlas-61f1baeebb69a86a.md): Neon · 2025-03-14 · Medium · 11 min read · Schema migrations, PostgreSQL, CI/CD, Static analysis
  Adding a UNIQUE constraint or setting a column NOT NULL in Postgres triggers a full table scan under an ACCESS EXCLUSIVE lock, which blocks all reads and writes and can take down an API on large tables.

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)
