[felix@centos ~]$ sudo yum install postgresql93-contrib.x86_64
[felix@centos ~]$ sudo su postgres
bash-4.1$ psql
postgres=# CREATE EXTENSION "uuid-ossp";
CREATE EXTENSION
postgres=# select uuid_generate_v4() ;
uuid_generate_v4
--------------------------------------
e34f4b0b-aeae-4999-bda8-08eb9705dcc2
(1 row)
Comments
comments powered by Disqus