相关疑难解决方法(0)

在postgresql中从v1 uuid转换或提取timestamptz

我正试图从V1 uuid中提取时间戳,天真地希望这有效:

select '3efe0a20-f1b3-11e3-bb44-14109fec739e'::uuid::timestamp;
Run Code Online (Sandbox Code Playgroud)

这是一个快速示例,展示如何提取时间,但我希望postgresql内置一些内容而不是创建一次性pl/pgSql函数.http://play.golang.org/p/XRCooLgfaG

postgresql uuid

9
推荐指数
1
解决办法
982
查看次数

标签 统计

postgresql ×1

uuid ×1