Generating UUIDv7 in PostgreSQL 18

Another post just turned from a useful algorithm to madskillz. Since PostgreSQL 18 the method is just:

select uuidv7();

Comments

Comments powered by Disqus