- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我使用的是 Intellij Idea Ultimate 2016.3 版本。我尝试使用 Intellij Idea 的默认“数据库”插件连接到 Postgres DB。但是,当我尝试与数据库同步时,我在事件日志中看到了这一点:
ERROR: column reference "oid" is ambiguous Position: 1205.
我尝试检查日志,这是我发现的。
Caused by: org.jetbrains.dekaf.exceptions.StrippedSQLException: org.postgresql.util.PSQLException: ERROR: column reference "oid" is ambiguous Position: 1205
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2270)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1998)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:570)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:420)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:413)
at org.jetbrains.dekaf.jdbc.JdbcIntermediateSeance.execute(JdbcIntermediateSeance.java:100)
at com.intellij.database.remote.jdba.impl.RemoteSeanceImpl.execute(RemoteSeanceImpl.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
... 3 more
然后我看到执行了如下查询。
The SQL statement:
select max(last_tx) as state_number from (select max(xmin::varchar::bigint) as last_tx
from pg_catalog.pg_type
where typnamespace = oid(?)
union all
select max(xmin::varchar::bigint) as last_tx
from pg_catalog.pg_class where relnamespace = oid(?)
union all
select max(xmin::varchar::bigint) as last_tx
from pg_catalog.pg_proc where pronamespace = oid(?)
union all
select max(xmin::varchar::bigint) as last_tx
from pg_catalog.pg_operator where oprnamespace = oid(?)
union all
select max(A.xmin::varchar::bigint) as last_tx
from pg_catalog.pg_attribute A
join pg_catalog.pg_class K on K.oid = A.attrelid
where K.relnamespace = oid(?)
union all
select max(xmin::varchar::bigint) as last_tx
from pg_catalog.pg_constraint
where connamespace = oid(?)
union all
select max(IX.xmin::varchar::bigint) as last_tx
from pg_catalog.pg_index IX, pg_catalog.pg_class IC
where IC.oid = IX.indrelid and IC.relnamespace = oid(?)
union all
select max(RU.xmin::varchar::bigint) as last_tx
from pg_catalog.pg_rewrite RU, pg_catalog.pg_class RC
where RC.oid = RU.ev_class and RC.relnamespace = oid(?)
union all
select max(TG.xmin::varchar::bigint) as last_tx
from pg_catalog.pg_trigger TG, pg_catalog.pg_class TC
where TC.oid = TG.tgrelid and TC.relnamespace = oid(?)
union all
select max(DE.xmin::varchar::bigint) as last_tx
from pg_catalog.pg_description DE, pg_catalog.pg_class DC
where DC.oid = DE.objoid and DC.relnamespace = oid(?) and DC.relkind in ('r', 'm', 'v')
)
最佳答案
在对 Intellij Idea 论坛进行全面搜索后,我执行了以下操作:
经过以上步骤,问题得以解决。以下链接对我有帮助:
希望这对某人有帮助
关于postgresql - Intellij Idea Ultimate Postgres/EDB 数据库插件 "oid"不明确,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41061170/
有没有像lambda-the-ultimate这样的人工智能领域的博客或者论坛或者讨论组?在编程语言领域? 最佳答案 正如 Geoffrey 所说,大多数博客、论坛或讨论组都是分散的。以下是几个网站。
Resharper ultimate 2016.3 无法安装扩展并出现以下错误: 14:17:15.792 |E| ExtensionManagerViewModelProvider | The op
我是 C++ 的新手(我使用的是 Visual Studio 2010 Ultimate),我在销毁具有 std::list 的类时遇到问题,我的代码是: #include "p_list.h" in
我正在尝试将测试设置文件添加到我在 VS2010 中的单元测试项目。所有网站似乎都只是说“转到添加新项目>已安装的模板>测试设置”。但是,我的已安装模板中没有测试设置选项(在线搜索它们也没有找到任何结
我想验证和测试 Cassandra DB 的“replication_factor”和一致性级别 ONE。 我指定了一个集群: “MyCluster01”在两个数据中心具有三个节点:RAC1 中的 D
我可以从我的大学获得IntellIJ Ultimate Edition的学生许可证。在我的工作中使用它合法吗? 最佳答案 根据JetBrains的许可和购买常见问题解答中的this entry所述:
我目前使用的是 VS2010 Premium,听说 Ultimate 中的调试要好得多。升级到 Ultimate 以利用它们包含的新调试功能真的值得吗?或者是营销炒作,并不能真正用于日常开发场景? 我
有人知道这里的问题吗?在“调试”菜单中没有“线程窗口”。 我正在使用完整的VS2010(Ultimate SP1)。 最佳答案 “线程”窗口选项仅在实际调试过程时才可用。 选择“开始调试”,然后返回相
当启动一个新的基于Gradle的Java项目时,我得到了 Error:The modules ['helloworld', 'helloworld-app_test', 'helloworld_mai
我有Intellij Ultimate 2020.1,正在尝试调试Angular项目。构建工具是gradle。 当我使用Intellij在事件触发器上设置断点时,它不会停止代码执行。我该如何解决? 我
终极版具有更多功能,因此我认为它加载速度较慢,消耗更多内存,并且通常响应速度较慢。实际上,我不太关心加载时间,但内存和响应能力(相关的)更重要。 您注意到这些版本之间有什么区别吗? 最佳答案 如果您正
关于 intelliJ Ultimate 对齐的快速问题。 这些对齐方式有效: exsistingSchedule = new ArrayList<>(); while ((datastring =
我知道 ReSharper Ultimate 在 Visual Studio 中放入了一个可以反编译外部代码的加载项,因为我之前几次无意中反编译了各种东西。但现在我处于这样一种情况,它实际上很有用,但
我正在尝试使用这个包 react-ultimate-pagination: https://github.com/ultimate-pagination/react-ultimate-paginati
我已经通过 intellij 插件连接到我的 Microsoft SQL Server 数据库。这意味着我可以在 intellij 中查看表格并编写查询。 如何将表中的数据保存到对象中?我已经读到通过
我使用 Wordpress 和 Shortcodes Ultimate,目前我正在使用名为“service”的简码。它显示带有标题和图标的文本。 我的目的是在鼠标悬停在服务区上时改变背景颜色和文字颜色
我正在尝试将独特的图标放在使用 shortcode ultimate 创建的自定义选项卡上,但似乎没有任何效果。这可能是我失踪的显而易见的事情。我制作了三个自定义的 css 类,我已经附加到每个选项卡
我在 Windows 7 企业版上使用 Intellij 13 Ultimate。我的 Maven pom 包括以下内容: org.apache.
我最近从 Visual Studio Professional 升级到了 Ultimate。升级过程完美运行,两天都运行良好,但以下操作现在非常慢(2-3 分钟 100% cpu) 在调试中启动一个新
我想知道如何最好地在 VS2008 Professional(包括一个 Web 部署项目)中编写我的三个不同版本的 C# ASP.NET 3.5 应用程序。我的应用程序有 Light、Pro 和 Ul
我是一名优秀的程序员,十分优秀!