postgresql/src/backend
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
..
access Add support for <-> (box, point) operator to GiST box_ops 2019-07-14 15:09:15 +03:00
bootstrap In bootstrap mode, use default signal handling for SIGINT etc. 2019-05-14 10:22:28 -04:00
catalog Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
commands Warn if wal_level is too low when creating a publication. 2019-07-13 10:35:34 +12:00
executor Pass QueryEnvironment down to EvalPlanQual's EState. 2019-07-10 10:15:32 +12:00
foreign Update copyright for 2019 2019-01-02 12:44:25 -05:00
jit Fix more typos and inconsistencies in the tree 2019-06-17 16:13:16 +09:00
lib Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
libpq Use consistent style for checking return from system calls 2019-07-07 15:28:49 +02:00
main Replace @postgresql.org with @lists.postgresql.org for mailinglists 2019-01-19 19:06:35 +01:00
nodes Fix many typos and inconsistencies 2019-07-01 10:00:23 +09:00
optimizer Don't remove surplus columns from GROUP BY for inheritance parents 2019-07-03 23:44:54 +12:00
parser Fix many typos and inconsistencies 2019-07-01 10:00:23 +09:00
partitioning Fix RANGE partition pruning with multiple boolean partition keys 2019-07-12 19:12:38 +12:00
po Translation updates 2019-06-17 15:30:20 +02:00
port Update stale comments, and fix comment typos. 2019-06-08 10:12:26 -07:00
postmaster Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
regex Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
replication Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
rewrite Fix many typos and inconsistencies 2019-07-01 10:00:23 +09:00
snowball Sync our Snowball stemmer dictionaries with current upstream 2019-07-04 13:26:48 +02:00
statistics Remove unused variable in statext_mcv_serialize() 2019-07-05 18:51:56 +02:00
storage Forward received condition variable signals on cancel. 2019-07-13 14:50:18 +12:00
tcop Reduce memory consumption for multi-statement query strings. 2019-07-10 14:32:38 -04:00
tsearch Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
utils Add gen_random_uuid function 2019-07-14 14:30:27 +02:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Get rid of jsonpath_gram.h and jsonpath_scanner.h 2019-03-20 11:13:34 +03:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Translation updates 2019-05-20 16:00:53 +02:00