---
title: "PostgREST 9"
description: "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)."
url: "https://swe.quest/articles/postgrest-9-20b92866c21e13eb"
canonical: "https://supabase.com/blog/postgrest-9"
source: "Supabase"
published: "2021-11-27"
difficulty: "medium"
kind: "Release"
reading_minutes: 2
tags: ["postgres","api-design"]
---

# PostgREST 9

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2021-11-27, 2 min read, Release. Original: [https://supabase.com/blog/postgrest-9](https://supabase.com/blog/postgrest-9)

## Summary

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). Functions can now accept a single unnamed JSON parameter, which lets webhooks such as Postmark bounce notifications POST raw payloads straight to an rpc endpoint. PostgreSQL 14 compatibility forced a breaking change: per-claim and per-header settings are replaced by \`request.jwt.claims\` and \`request.headers\` JSON settings, so custom auth functions must be updated. Supabase's built-in auth helpers already handle this.

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)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)

## Prerequisites

- PostgreSQL functions ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- REST APIs ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))
- SQL joins ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

PostgREST, PostgreSQL 14, supabase-js, Supabase, Postmark

## Related posts

- [PostgREST 11 pre-release](https://swe.quest/articles/postgrest-11-pre-release-708e03106b6a485f.md): Supabase · 2022-12-16 · Medium · 3 min read · PostgreSQL, API design, SQL
  PostgREST 11's pre-release, available through the Supabase CLI, adds three querying features.
- [PostgREST 13](https://swe.quest/articles/postgrest-13-412584efa365a837.md): Supabase · 2025-09-30 · Medium · 3 min read · PostgreSQL, API design, Search, Identity & auth
  PostgREST 13 adds spread syntax for to-many relationships so one-to-many and many-to-many joins can be returned as flat JSON arrays, automatic to\_tsvector conversion that enables full text search on text and json/jsonb columns (backed by a GIN index on the expression), and a maxAffected limit that throws an error when an update, delete or rpc touches too many rows.
- [What is new in PostgREST v11.1?](https://swe.quest/articles/what-is-new-in-postgrest-v11-1-2bc974a578068114.md): Supabase · 2023-07-12 · Medium · 5 min read · PostgreSQL, API design, Consistency models, SQL
  PostgREST 11.1 lets impersonated JWT roles (anon, authenticated, service\_role) carry Postgres settings via ALTER ROLE ...
- [supabase-js v2](https://swe.quest/articles/supabase-js-v2-f87cba2e3b41f9e9.md): Supabase · 2022-08-16 · Medium · 5 min read · JavaScript, TypeScript, API design, Identity & auth, PostgreSQL
  supabase-js v2 brings incremental quality-of-life changes over v1.
- [Supabase Auth: Identity Linking, Hooks, and HaveIBeenPwned integration](https://swe.quest/articles/supabase-auth-identity-linking-hooks-and-haveibeenpwned-integration-8ed59b21ef27e3e6.md): Supabase · 2023-12-14 · Medium · 5 min read · Identity & auth, PostgreSQL
  Supabase Auth adds four features: manual Identity Linking via linkIdentity()/unlinkIdentity() for OAuth identities, session controls (time-boxed sessions, inactivity timeouts, single session per user on Pro and above), leaked password protection using the HaveIBeenPwned Pwned Passwords API with configurable password requirements, and Auth Hooks.

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)
