The Art of PostgreSQL

The book that teaches SQL to developers: Learn to replace thousands of lines of code with simple queries!

Trusted by developers

Used in real systems

  • "This book is on a higher level than generic software books. It explains the how's and why's of using Postgres's many feature. It is an excellent companion to the official Postgres documentation."

    Bruce Momjian, PostgreSQL core team
  • "At last the definitive Postgres book for app developers is out, and from the amazing @tapoueh no less. Go get it!"

    Peter van Hardenberg
  • "Full edition of Mastering PostgreSQL is BRILLIANT! Not just best PG resource ever but best tech-learning package I've ever seen!"

    Derek Sivers
  • "Thanks for your fantastic book. It's helped me immensely in my current job. Technical books can often be a bore and hard to digest, but Mastering PostgreSQL was a pleasure to read."

    Ben Davies

Practical PostgreSQL for Developers

Start with the foundation

The book is your entry point to a complete PostgreSQL system. Learn the fundamentals, practice with real data, then apply advanced techniques in production.

Fair Pricing Available
Dimitri Fontaine

Written by a PostgreSQL major contributor—author of CREATE EXTENSION and Event Triggers—and creator of tools such as pgloader, pgcopydb, and pg_auto_failover. With years of production consulting and international conference speaking experience, the content is built for developers who need practical, real-world skills, not theory.

Master PostgreSQL Through Principles That Stand the Test of Time

Build durable expertise in database design, performance, and SQL mastery—skills that remain relevant across PostgreSQL versions, with a feature update review in preparation for a future edition.

The Art of PostgreSQL: A Complete Learning System

Learn SQL, performance, and data modeling that works in production

The Art of PostgreSQL is a complete, practical system to move from writing queries to designing and operating real data systems. Start with the book to build solid foundations, then go deeper with structured courses, use the lab for hands-on practice, and register to expert-led workshops.

Continue after the book

A complete PostgreSQL course packaged in three tiers:
for different goals and experience levels.

Live Workshop Sessions

Designed for advanced users, a focused 3-hour deep dives with real-time Q&A.

Workshops cover specific topics in depth — window functions, EXPLAIN plans, aggregation patterns, and more. Limited seats, expert instruction, immediate application.

Free Practice Lab

Real datasets, real queries, no setup required

A companion lab to practice everything from the book and courses. Download the datasets, run the queries, experiment freely.

Ready to master PostgreSQL?

The book is the foundation. Everything else builds on it.

Already have the book? Take the course.

One System, One Learning Path

Learn → Practice → Apply → Master

Book

Foundation & reference

Course

Structured learning

Workshop

Live deep dives

Lab

Hands-on practice

Most people continue with the course.

Not convinced yet? Get a FREE chapter including the full Table of Contents!