---
title: "New in PostgreSQL 14: What every developer should know"
description: "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."
url: "https://swe.quest/articles/new-in-postgresql-14-what-every-developer-should-know-e3634d2eaebf30b0"
canonical: "https://supabase.com/blog/whats-new-in-postgres-14"
source: "Supabase"
published: "2021-11-28"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 5
tags: ["postgres","sql"]
---

# New in PostgreSQL 14: What every developer should know

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2021-11-28, 5 min read, Deep dive. Original: [https://supabase.com/blog/whats-new-in-postgres-14](https://supabase.com/blog/whats-new-in-postgres-14)

## Summary

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.

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 fundamentals ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))

## Keywords

PostgreSQL 14, jsonb, tsmultirange, libpq, pg\_stat\_activity, pg\_read\_all\_data, SCRAM-SHA-256, query\_id

## Related posts

- [What's New in PostgreSQL 14?](https://swe.quest/articles/what-s-new-in-postgresql-14-d679a59b3961e203.md): Render · 2021-10-05 · Medium · 4 min read · PostgreSQL, SQL
  PostgreSQL 14 adds jsonb subscripting, which lets queries read, filter and update nested JSONB values with JavaScript-like bracket syntax instead of path operators such as #\>.
- [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.
- [SQL or NoSQL? Why not use both (with PostgreSQL)?](https://swe.quest/articles/sql-or-nosql-why-not-use-both-with-postgresql-98c239e2ff7e761c.md): Supabase · 2022-11-24 · Medium · 12 min read · PostgreSQL, SQL, Databases
  PostgreSQL's JSONB columns let an app store nested, variable-length data (here, a daily food, water and exercise log) as a single row instead of spreading it across several normalized tables, while keeping SQL available for analysis.
- [PostgREST 9](https://swe.quest/articles/postgrest-9-20b92866c21e13eb.md): Supabase · 2021-11-27 · Medium · 2 min read · PostgreSQL, API design
  PostgREST 9 adds inner-join resource embedding via the \`!inner\` keyword, so top-level rows can be filtered by conditions on an embedded table (e.g. messages filtered by users.username).
- [Supabase is now on Postgres 13.3](https://swe.quest/articles/supabase-is-now-on-postgres-13-3-2931acd8ef3ece75.md): Supabase · 2021-07-26 · Easy · 3 min read · PostgreSQL, Performance engineering
  New Supabase projects now run Postgres 13.3 (up from 12.0), bringing native gen\_random\_uuid, parallel index vacuuming, incremental sorting and smaller B-tree indexes.

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)
