- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在跑:PostgreSQL 9.0.3(最后一个 Debian 稳定版)
这个查询:
SELECT * FROM sis.thread_categories stc, sis.threads st WHERE st.id_thread_categories=stc.id
=> 抛出:
ERROR: volatile EquivalenceClass has no sortref State SQL: XX000
当我尝试使用 JOIN 时,同样的问题发生了。有人知道我做错了什么吗?
最佳答案
我认为您的数据库可能已损坏,这是不应该发生的。来自 backend/optimizer/path/pathkeys.c
在 PostgreSQL 源代码中:
List *
convert_subquery_pathkeys(PlannerInfo *root, RelOptInfo *rel,
List *subquery_pathkeys)
{
/*...*/
if (sub_eclass->ec_sortref == 0) /* can't happen */
elog(ERROR, "volatile EquivalenceClass has no sortref");
该错误消息出现在源代码中的另外两个地方,但触发条件 ec_sortref == 0
是相同的,并且相同的“不可能发生”注释出现在所有三个地方.
所以要么你的数据库损坏了,要么你在 PostgreSQL 中发现了一个错误。
关于postgresql - Volatile EquivalenceClass 没有 sortref,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5939764/
我刚刚开始学习语义网,有一个关于限制类的问题。我挖了一段时间但还没有找到任何答案..任何帮助将不胜感激!从课本上,我看到定义限制类的示例,它们都是要定义一个匿名 owl:Restriction 类 b
我在跑:PostgreSQL 9.0.3(最后一个 Debian 稳定版) 这个查询: SELECT * FROM sis.thread_categories stc, sis.threads st
我是一名优秀的程序员,十分优秀!