postgresql-knowledge-patch

Installation
SKILL.md

PostgreSQL 17+ Knowledge Patch

Claude's baseline knowledge covers PostgreSQL through 16. This skill provides features from 17 (Sep 2024) onwards.

Source: PostgreSQL release notes at https://www.postgresql.org/docs/release/

PostgreSQL 17 (Sep 2024)

SQL/JSON (Major)

Function Purpose Example
JSON_TABLE() JSON → table rows FROM JSON_TABLE(data, '$.items[*]' COLUMNS (id int PATH '$.id'))
JSON() Cast text → json JSON('{"a":1}')
JSON_SCALAR() Scalar → JSON JSON_SCALAR(42)
JSON_SERIALIZE() JSON → text JSON_SERIALIZE(jsonb_col)
JSON_EXISTS() Path exists? boolean JSON_EXISTS(data, '$.key')
JSON_VALUE() Extract scalar as SQL type JSON_VALUE(data, '$.key' RETURNING int)
JSON_QUERY() Extract JSON fragment JSON_QUERY(data, '$.arr')
Related skills
Installs
16
GitHub Stars
19
First Seen
Feb 9, 2026