
postgresql_数据类型
文章平均质量分 77
rudy_gao
这个作者很懒,什么都没留下…
展开
-
postgresql数据类型
--pg支持范围类型• int4range — Range of integer• int8range — Range of bigint• numrange — Range of numeric• tsrange — Range of timestamp without time zone• tstzrange — Range of timestamp with time zone•原创 2016-01-19 15:10:15 · 1249 阅读 · 0 评论 -
postgresql 排它约束
--pg支持 EXCLUSION Constraint,排它约束是约束中定义的操作计算结果为false,则不允许插入Exclusion constraints ensure that if any two rows are compared on the specified columns or expressions using the specified operators, at leas原创 2016-01-20 11:36:15 · 4033 阅读 · 0 评论 -
postgresql 数组类型
--pg支持数组,且支持分片访问,比如[1:2],任意只有一个数字(没有冒号)的维数是从 1 开始到声明的数字为止的 --如果任意维数被写为一个片段,也就是,包含一个冒号,那么所有维数都被当做是片段If any dimension is written as a slice, i.e., contains a colon, then all dimensions are treated as原创 2016-03-02 16:54:04 · 2172 阅读 · 0 评论