File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,10 +23,20 @@ To activate the extension in the target databases:
2323## Functions
2424
2525### ` uuidv7() -> uuid `
26- Generate a UUID v7 value with millisecond precision and 74 bits of randomness.
26+ Generate a UUID v7 value using the current time with millisecond precision
27+ and 74 bits of randomness.
28+
29+ ### ` uuidv7(timestamptz) -> uuid `
30+ Generate a UUID v7 value using the given time with millisecond precision
31+ and 74 bits of randomness.
2732
2833### ` uuidv7_sub_ms() -> uuid `
29- Generate a UUID v7 value with sub-millisecond precision (up to 0.25 µs), with 62 bits of randomness.
34+ Generate a UUID v7 value using the current time with sub-millisecond
35+ precision (up to 0.25 µs), with 62 bits of randomness.
36+
37+ ### ` uuidv7_sub_ms(timestamptz) -> uuid `
38+ Generate a UUID v7 value using the given time with sub-millisecond
39+ precision (up to 0.25 µs), with 62 bits of randomness.
3040
3141### ` uuidv7_extract_timestamp(uuid) -> timestamptz `
3242Extract the timestamp with millisecond precision from the given UUID v7 value.
You can’t perform that action at this time.
0 commit comments