← Back to context

Comment by zarzavat

12 days ago

Today I'm writing a Postgres native function to derive UUIDs from an integer primary key using AES intrinsics. This lets me expose public UUID keys while still using an efficient 64-bit sequential primary key.

Not sure if I'll use it compared to just using conventional uuidv7 but it's nice to have options.