Stopping Concurrent Double Bookings - PostgreSQL EXCLUDE Constraints
When bookings for the same meeting room and overlapping times arrive at the same moment, a PostgreSQL EXCLUDE constraint lets only one of them in. This post covers how to set it up and how it works underneath.

