~/talk

Postgres without SQL: Natural language queries using GPT-3 & Rust

slides:none on file

A Rust Postgres extension called pg_human grabs the live schema, sends it to GPT‑3/ChatGPT via an OpenAI Rust client, receives raw SQL, runs it through Postgres SPI and returns JSON for arbitrary results. Demo creates todo tables, inserts Messi/Ronaldo/Neymar with three tasks each, updates ~50% of tasks, and runs GROUP BY queries successfully. Notes cover using cargo‑pgx/pgrx, async/threading limits in Postgres, a mold linker speedup, and a warning about destructive AI-generated ALTER/DELETE.

AI-written summary · about

  1. 0:00Introducing Jelte
  2. 1:06Jelte’s talk begins: Querying Postgrwith ChatGPT
  3. 5:11Why do this in Rust?
  4. 8:52Let’s write a Postgres extension in Rust
  5. 13:31Requirements for a PG extension for ChatGPT
  6. 19:25Demo of a To-Do list app
  7. 26:43Q&A
~/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.