-

Generating a UUID in Postgres for Insert statement?
UUID stands for universally unique identifier. Unlike auto generated ID’s it is long and includes both numeric and alphanumeric characters. TL;DR: gen_random_uuid(); Randomness of a UUID is not based on an authority, also there is a possibility to be duplicated, in practice, that provides a unique identifier to objects in database. UUID in PostgreSQL PostgreSQL…
