dbeaver / dbeaver

Free universal database tool and SQL client
https://dbeaver.io
Apache License 2.0
40.68k stars 3.51k forks source link

For PostgreSQL only: Do not suggest database names in suggestion list on Ctrl + Space #35507

Open ask9 opened 2 months ago

ask9 commented 2 months ago

Description

As you know, PostgreSQL does not allow executing select from database-A to some object in database-B, due to known limitation: cross-database references are not implemented

That's why I suggest to do not show databases in a list of suggestions here (or at least, turn this option off in Preferences).

It can be benefitial for those:

This is only about PostgreSQL-databases. I expect other databases which support 'cross-database references' (for example, SQL Server) will still suggest the databases in suggestion list.

https://github.com/user-attachments/assets/7b525196-0451-43c5-a2a3-9721ba5181b6

DBeaver Version

Community Edition 24.1.5-202408122322

Operating System

Windows 10

Database and driver

PostgreSQL 16 PostgreSQL JDBC Driver 42.7.4

Steps to reproduce

No response

Additional context

No response

Matvey16 commented 2 months ago

@ask9 Thank you for the report