Implementing V7 UUID in Postgres

Everyone likes fast Postgres databases, and so do I. Something developers have been talking about recently is the usage of UUID v7 in Postgres databases because rt is quicker to search on. I wanted to use v7 as IDs for the service I built, but I also didn’t want to generate the UUID in the application layer as I think it’s really nice to use default in SQL. This article shows a quick example of how I implemented it for my services as Postgres don’t support V7 yet....

Sep 6 · 4 min · 846 words