~/talk

The road to new SQL/JSON features

Talkat PGConf.dev 2024 · 2024-05-28..05-31· [databases]
slides:none on file

Postgres now implements a near-complete SQL/JSON suite landed across several late commit Fests and included in Postgres 17, notably JSON_TABLE with nested support and the JSONB storage format added years earlier for indexing. The work uses soft errors to avoid expensive savepoint-based parsing, adds JSON constructors and aggregates (json, json_array, json_object, json_arrayagg, json_objectagg), JSON functions (json_parse, json_serialize), and SQL/JSON path, query, value and exists operators; some early patches were reverted and reworked for correctness and performance.

AI-written summary · about

  1. 0:00Introduction to SQL/JSON features
  2. 1:33Early JSON implementation in PostgreSQL
  3. 4:52Transition to JSONB and indexing
  4. 10:19SQL/JSON standard adoption challenges
  5. 16:46Soft errors and JSON parsing improvements
  6. 18:13JSON constructors in PostgreSQL 16
  7. 28:00JSON array and object aggregates
  8. 31:13JSON predicate in PostgreSQL 16
  9. 33:23PostgreSQL 17 SQL/JSON updates
  10. 35:56JSON value constructors
  11. 38:25JSON query functions in PostgreSQL 17
  12. 41:22JSONPath and nested queries
  13. 44:13JSON table with nested clauses
  14. 45:59Summary and future outlook
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.