Fixed an issue where the user is not able to use the query tool when

any other long-running operation is in progress.

refs 
pull/41/head
Nikhil Mohite 2021-02-19 15:57:55 +05:30 committed by Akshay Joshi
parent db95414cf1
commit d9847ed1f3
1 changed files with 2 additions and 1 deletions
web/pgadmin/tools/sqleditor

View File

@ -593,7 +593,8 @@ def fetch_pg_types(columns_info, trans_obj):
# to execute another query otherwise we'll lose query result.
manager = get_driver(PG_DEFAULT_DRIVER).connection_manager(trans_obj.sid)
default_conn = manager.connection(did=trans_obj.did)
default_conn = manager.connection(conn_id=trans_obj.conn_id,
did=trans_obj.did)
# Connect to the Server if not connected.
res = []