yugabyte=# SELECT substring(version() from 'YB-([^\s]+)') "YB Version";
YB Version
-------------
2.17.0.0-b0
(1 row)
yugabyte=# SELECT gen_random_uuid();
ERROR: function gen_random_uuid() does not exist
LINE 1: SELECT gen_random_uuid();
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
yugabyte=# CREATE EXTENSION pgcrypto;
CREATE EXTENSION
yugabyte=# SELECT gen_random_uuid();
gen_random_uuid
--------------------------------------
a27688dc-2ad0-44b5-8a3a-a1a8dbac5f5d
(1 row)