Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically update left panel on DDL statements #2464

Open
alejandro-du opened this issue Mar 10, 2024 · 3 comments
Open

Automatically update left panel on DDL statements #2464

alejandro-du opened this issue Mar 10, 2024 · 3 comments

Comments

@alejandro-du
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I'm always frustrated when I create a new database object (e.g. CREATE SCHEMA test or CREATE TABLE t(c INT)) and have to right-click the Databases or Tables nodes on the left panel to update the list.

Describe the solution you'd like
A clear and concise description of what you want to happen.

It would be nice if the right panel was automatically updated after executing DDL statements.

@LonwoLonwo
Copy link
Member

I'm always frustrated when I create a new database object (e.g. CREATE SCHEMA test or CREATE TABLE t(c INT)) and have to right-click the Databases or Tables nodes on the left panel to update the list.

Hello @alejandro-du

I need to check it - are you talking about the object creation in the SQL Editor?

@alejandro-du
Copy link
Author

@LonwoLonwo - thanks for your quick reply. I'm talking about using the SQL editor to run Data Definition Language SQL statements like CREATE SCHEMA test.

@LonwoLonwo
Copy link
Member

Ok, thanks for the answer.
This is a known issue in DBeaver.
We already have tickets like: dbeaver/dbeaver#21734
or dbeaver/dbeaver#16219

The reason why we have yet to implement it - is that we do not want to reload all metadata all the time. It will be too expensive.
We can parse all executed queries and find object creation statements. For now, our parser needs to be better for it.
But we are working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants