Fixed an issue where the user is not able to use the query tool when
any other long-running operation is in progress. refs #5793pull/41/head
parent
db95414cf1
commit
d9847ed1f3
web/pgadmin/tools/sqleditor
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue