Using DBeaver to query a PostgreSQL db and get following error: SQL Error [0A000]: ERROR: cross-database references are not implemented

Using DBeaver to query a PostgreSQL db and get following error: SQL Error [0A000]: ERROR: cross-database references are not implemented

我完全不熟悉 SQL、PostgreSQL 和 DBeaver。当试图简单地从数据库查询 table 时:

SELECT * FROM operation.fs.ten_q_score;

我收到以下错误:

SQL Error [0A000]: ERROR: cross-database references are not implemented: "operation.fs.ten_q_score"¶  Position: 15

我查看了 dblink,但甚至不明白如何安装类似 dblink 的东西(即使在查看了实际文档之后)。

非常感谢任何指导!

在此处添加连接

选择 PostgreSQL 并输入您的连接:

完成连接设置,连接到数据库并运行

SELECT * FROM fs.ten_q_score;

也许它会对某人有所帮助,如果您有多个连接,那么您必须右键单击您要使用的连接和 set it as active,然后当您按下 F3 按钮时,您将可以访问您当前选择的数据库。