使用DBeaver查询PostgreSQL数据库并得到以下错误:SQL错误[0A000]:错误:跨数据库引用未实现

Gra*_*ich 2 postgresql dbeaver

我对SQL,PostgreSQL和DBeaver完全陌生。尝试简单地从数据库查询表时:

SELECT * FROM operation.fs.ten_q_score;
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

SQL Error [0A000]: ERROR: cross-database references are not implemented: "operation.fs.ten_q_score"¶  Position: 15
Run Code Online (Sandbox Code Playgroud)

我已经看过dblink,但是甚至不了解如何安装dblink这样的东西(即使在查看了实际的文档之后)。

任何指导深表感谢!

Gh1*_*111 14

Maybe it will help someone, if you have several connection then you have to right click on connection your are going to work with and set it as active, after that when you press F3 button you will have access direct to your current database.

在此处输入图片说明


Vao*_*sun 6

Add connection here

在此处输入图片说明

选择 PostgreSQL 并输入您的连接:

在此处输入图片说明

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

SELECT * FROM fs.ten_q_score;
Run Code Online (Sandbox Code Playgroud)