timescaledb - 无法使用规则创建超表
问题描述
我无法在已经包含预先存在的规则的表上创建超表,或者即使我先创建超表然后尝试在该表上添加规则,它也不起作用。
下面列出的错误:
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) 上运行良好。
如果有人可以提供帮助,将不胜感激。
解决方案
推荐阅读
- ubuntu-20.04 - 在 Ubuntu 中创建虚拟环境
- .net-core - 为什么 EF Core 5 不使用我的实体“地址”的“Id”属性上的“[Key]”属性创建“主键自动增量”?
- json - 如何为 Imgur JSON 创建模型对象 | 迅速
- reactjs - 数据未填充到反应数据表中
- javascript - 如何通过在javascript中使用切线来获得角度?
- flutter - 用户注销时如何在 Flutter 中处理 StreamProvider 的值?
- java - 如何在后台执行任务?
- wpf - WPF Datagrid Button commandParameter 在后面的代码中
- css - 样式中的 HTL 条件
- sql-server - 在 SQL Select 语句中读取 XML 值