From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add some UUID support functions |
Date: | 2024-03-19 08:55:43 |
Message-ID: | E1rmVG3-004ZLH-EW@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add some UUID support functions
Add uuid_extract_timestamp() and uuid_extract_version().
Author: Andrey Borodin
Reviewed-by: Sergey Prokhorenko, Kirk Wolak, Przemysław Sztoch
Reviewed-by: Nikolay Samokhvalov, Jelte Fennema-Nio, Aleksander Alekseev
Reviewed-by: Peter Eisentraut, Chris Travers, Lukas Fittl
Discussion: https://postgr.es/m/CAAhFRxitJv%3DyoGnXUgeLB_O%2BM7J2BJAmb5jqAT9gZ3bij3uLDA%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/794f10f6b920670cb9750b043a2b2587059d5051
Modified Files
--------------
doc/src/sgml/func.sgml | 30 +++++++++++++++
src/backend/utils/adt/uuid.c | 64 ++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 7 ++++
src/test/regress/expected/opr_sanity.out | 2 +
src/test/regress/expected/uuid.out | 39 +++++++++++++++++++
src/test/regress/sql/uuid.sql | 14 +++++++
7 files changed, 157 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2024-03-19 09:22:10 | pgsql: Use daterange and YMD in without_overlaps tests instead of tsran |
Previous Message | Peter Eisentraut | 2024-03-19 06:14:34 | pgsql: Activate perlcritic InputOutput::RequireCheckedSyscalls and fix |