How to use UUID
As of PG16 (year 2023), Postgres implements UUID versions from 1 to 5, based on RFC 4122.
As of PG16 (year 2023), Postgres implements UUID versions from 1 to 5, based on RFC 4122.
Ok, you've asked – here it is, a draft recipe to use UUIDv7 and partitioning (we'll use @TimescaleDB).