首页 > 解决方案 > 无法使用规则创建超表

问题描述

我无法在已经包含预先存在的规则的表上创建超表,或者即使我先创建超表然后尝试在该表上添加规则,它也不起作用。

下面列出的错误:

ERROR:  hypertables do not support rules
DETAIL:  Table "trafficsummary07112019" has attached rules, which do not work on hypertables.
HINT:  Remove the rules before calling create_hypertable

ERROR:  hypertables do not support rules (When trying to add rule after creating hypertable)

这在旧版本的 postgresql (V9) 和 TimeScaleDB (0.10.1) 上运行良好。

如果有人可以提供帮助,将不胜感激。

标签: timescaledb

解决方案


推荐阅读