mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the user is not able to use the query tool when
any other long-running operation is in progress. refs #5793
This commit is contained in:
parent
db95414cf1
commit
d9847ed1f3
@ -593,7 +593,8 @@ def fetch_pg_types(columns_info, trans_obj):
|
|||||||
# to execute another query otherwise we'll lose query result.
|
# to execute another query otherwise we'll lose query result.
|
||||||
|
|
||||||
manager = get_driver(PG_DEFAULT_DRIVER).connection_manager(trans_obj.sid)
|
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.
|
# Connect to the Server if not connected.
|
||||||
res = []
|
res = []
|
||||||
|
Loading…
Reference in New Issue
Block a user