Beyond Start and End: PostgreSQL Range Types
boringsql.com·19h·
Discuss: Hacker News
Flag this post

Beyond Start and End columns with PostgreSQL range types

One of the most read articles at boringSQL is Time to Better Know The Time in PostgreSQL where we dived into the complexities of storing and handling time operations in PostgreSQL. While the article introduced the range data types, there’s so much more to them. And not only for handling time ranges. In this article we will cover why to consider range types and how to work with them.

Bug Not Invented Here

But before we can talk about the range types, let’s try to understand why we should look at them in the first place. Let’s imagine a booking platform for large flash sales of the seats, that goes live at 10pm and will be taken by storm by thousands of people wh…

Similar Posts

Loading similar posts...