PostgreSQL uuid

--执行一
create extension "uuid-ossp"

--执行二

select uuid_generate_v4() 

  

原文地址:https://www.cnblogs.com/junko/p/7671278.html