~/talk

Using JSON with Postgres 9 3

Talkat PostgresOpen 2013 · 2013-09-16..09-18· [databases, web-platform]
links:none on file
slides:none on file

PostgreSQL 9.3 adds concrete JSON generators, extractors and an extendable parsing API so code actually produces and queries JSON instead of treating blobs as text. Expect to_json/array_to_json for generation, operators like -> and ->> and functions json_populate_record( set ), json_each, json_array_elements for extraction, plus hooks to write custom handlers. The extension-built json_build_object/array assembles arbitrary trees. Limits matter: a single JSON datum tops out near 1GB and parsing-every-time can hurt performance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45What is JSON
  3. 3:07JSON Structure
  4. 4:52Why JSON
  5. 5:21Why not JSON
  6. 6:17JSON in Postgres
  7. 8:13Whats missing
  8. 9:35To JSON
  9. 10:40Cast to JSON
  10. 13:30Event handlers
  11. 15:54JSON vs Text
  12. 16:52Dash Error
  13. 17:56Text View
  14. 18:14Array
  15. 19:09Path constructs
  16. 19:51Part of a record
  17. 21:24Keyvalue pairs
  18. 21:43Arrays
  19. 22:17Level
  20. 23:41State object
  21. 24:43Events
  22. 25:19Scalar
  23. 25:47Code
  24. 26:48Transformation
  25. 28:27Generating JSON
  26. 30:02Building JSON
  27. 30:33Nested JSON
  28. 31:04JSON Tree
  29. 32:03Binary Representation
  30. 35:57Sponsors
  31. 36:26Data size
~/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.