Tableau 9.45 shows the PostgreSQL functions that can be used to generate UUIDs.
Tableau 9.45. UUID Generation Functions
Function Description Example(s) |
---|
Generate a version 4 (random) UUID.
|
Generate a version 7 (time-ordered) UUID. The timestamp is computed using UNIX timestamp
with millisecond precision + sub-millisecond timestamp + random. The optional parameter
|
The uuid-ossp module provides additional functions that implement other standard algorithms for generating UUIDs.
Tableau 9.46 shows the PostgreSQL functions that can be used to extract information from UUIDs.
Tableau 9.46. UUID Extraction Functions
Function Description Example(s) |
---|
Extracts a
|
Extracts the version from a UUID of the variant described by
RFC 9562. For
other variants, this function returns null. For example, for a UUID
generated by
|
PostgreSQL fournit aussi les opérateurs de comparaison habituels affichés dans Tableau 9.1 pour les UUID.
See Section 8.12 for details on the data type
uuid
in PostgreSQL.