1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00
Files
postgres/contrib/pgcrypto
Peter Eisentraut 5925e55498 Add gen_random_uuid function
This adds a built-in function to generate UUIDs.

PostgreSQL hasn't had a built-in function to generate a UUID yet,
relying on external modules such as uuid-ossp and pgcrypto to provide
one.  Now that we have a strong random number generator built-in, we
can easily provide a version 4 (random) UUID generation function.

This patch takes the existing function gen_random_uuid() from pgcrypto
and makes it a built-in function.  The pgcrypto implementation now
internally redirects to the built-in one.

Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
Discussion: https://www.postgresql.org/message-id/6a65610c-46fc-2323-6b78-e8086340a325@2ndquadrant.com
2019-07-14 14:30:27 +02:00
..
2019-05-28 06:33:30 -04:00
2010-09-20 22:08:53 +02:00
2010-09-20 22:08:53 +02:00
2017-06-21 15:35:54 -04:00
2019-07-01 10:00:23 +09:00
2017-06-21 15:35:54 -04:00
2019-05-22 13:04:48 -04:00
2019-05-22 12:55:34 -04:00
2017-06-21 15:19:25 -04:00
2017-02-06 11:33:58 +02:00
2019-05-22 13:04:48 -04:00
2019-02-14 17:00:25 +01:00
2017-06-21 15:19:25 -04:00
2019-07-14 14:30:27 +02:00
2016-09-30 14:04:16 -04:00
2014-05-06 12:12:18 -04:00
2019-02-13 11:50:16 +01:00
2019-05-22 13:04:48 -04:00
2014-05-06 12:12:18 -04:00
2017-02-06 11:33:58 +02:00
2014-05-06 12:12:18 -04:00
2017-06-21 15:35:54 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2019-05-22 13:04:48 -04:00
2019-05-22 13:04:48 -04:00
2014-05-06 12:12:18 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00