forked from pgsql-io/omnidb-ng
-
Notifications
You must be signed in to change notification settings - Fork 19
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
better "drop database" #581
Labels
bug
Something isn't working
Comments
eug3nix
added a commit
that referenced
this issue
Jan 21, 2025
1: do not change the active database when righ-clicking DB tree node 2: run get_tree_info and get_databases against template1 db when loadingb DB object tree -> prevents actual DBs from getting "used" refs: #581
I've added a workaround which allows dropping the database in most cases.
|
plucik
pushed a commit
that referenced
this issue
Jan 22, 2025
…582) * temporary workaround for DROP DATABASE issue with currently used DB 1: do not change the active database when righ-clicking DB tree node 2: run get_tree_info and get_databases against template1 db when loadingb DB object tree -> prevents actual DBs from getting "used" refs: #581 * use template0 in prefer_database
plucik
pushed a commit
that referenced
this issue
Jan 22, 2025
…582) * temporary workaround for DROP DATABASE issue with currently used DB 1: do not change the active database when righ-clicking DB tree node 2: run get_tree_info and get_databases against template1 db when loadingb DB object tree -> prevents actual DBs from getting "used" refs: #581 * use template0 in prefer_database
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current implementation of drop database functionality opens a new template-base tab and creates db backend.
This backend prevents database deletion.
The text was updated successfully, but these errors were encountered: