Skip to content
Dimitri Fontaine
Writing Talks Topics Projects About

On JSON and SQL

See the articles:

http://tapoueh.org/blog/2017/09/on-json-and-sql/ http://tapoueh.org/blog/2017/10/set-returning-fonctions-and-postgresql-10/

To use the files:

$ createdb magic
$ psql -d magic -a -f magic.create.sql
$ PGOST=... PGPORT=... PGDATABASE=magic python3 magic.py
$ psql -d magic -a -f magic.sql

Details at the blog post articles.

Dimitri Fontaine
Dimitri Fontaine
PostgreSQL Major Contributor & author of The Art of PostgreSQL
📖
The Art of PostgreSQL
Replace thousands of lines of code with simple queries.
Buy the book → Learn more ↗
See also
The Lab — 500+ SQL exercises on GitHub Self-paced courses Live workshops
Dimitri Fontaine

PostgreSQL Major Contributor. I write about getting more out of SQL.

GitHubLinkedIn
The Art of PostgreSQLCourseWorkshopThe LabOSS Maintenance © 2026 Dimitri Fontaine