CREATE TABLE tbl_prop_demand_dtls_mango
PARTITION OF tbl_prop_demand_dtls_partition
FOR VALUES FROM (28) TO (28);我得到了这个错误
ERROR: empty range bound specified for partition "tbl_prop_demand_dtls_mango"
DETAIL: Specified lower bound ('28') is greater than or equal to upper bound ('28').发布于 2020-06-26 16:13:24
在创建范围分区时,使用FROM指定的下限是包含界限,而使用TO指定的上限是排除界限。
该声明
CREATE TABLE tbl_prop_demand_dtls_mango
PARTITION OF tbl_prop_demand_dtls_partition
FOR VALUES FROM (28) TO (29);定义大于或等于28且小于29的值的范围。如果列是整数,则范围仅包含28。
https://stackoverflow.com/questions/62590166
复制相似问题