public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin4][RM-5793]: Unexpected behaviour with long-running operation.
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin4][RM-5793]: Unexpected behaviour with long-running operation.
@ 2021-02-19 07:38 Nikhil Mohite <[email protected]>
  2021-02-19 10:28 ` Re: [pgAdmin4][RM-5793]: Unexpected behaviour with long-running operation. Akshay Joshi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Nikhil Mohite @ 2021-02-19 07:38 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Team,

Please find the attached patch for RM-5793: Unexpected behaviour with
long-running operation.
This patch only resolves the issue related to the query tool, (This is not
a full fix for this issue.)  Earlier we are not able to use the query tool
when any other long-running operation is In-Progress.


-- 
*Thanks & Regards,*
*Nikhil Mohite*
*Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*


Attachments:

  [application/octet-stream] RM_5793.patch (677B, 3-RM_5793.patch)
  download | inline diff:
diff --git a/web/pgadmin/tools/sqleditor/__init__.py b/web/pgadmin/tools/sqleditor/__init__.py
index 40442ff5..c8ee43c3 100644
--- a/web/pgadmin/tools/sqleditor/__init__.py
+++ b/web/pgadmin/tools/sqleditor/__init__.py
@@ -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 = []


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin4][RM-5793]: Unexpected behaviour with long-running operation.
  2021-02-19 07:38 [pgAdmin4][RM-5793]: Unexpected behaviour with long-running operation. Nikhil Mohite <[email protected]>
@ 2021-02-19 10:28 ` Akshay Joshi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2021-02-19 10:28 UTC (permalink / raw)
  To: Nikhil Mohite <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Fri, Feb 19, 2021 at 1:09 PM Nikhil Mohite <
[email protected]> wrote:

> Hi Team,
>
> Please find the attached patch for RM-5793: Unexpected behaviour with
> long-running operation.
> This patch only resolves the issue related to the query tool, (This is not
> a full fix for this issue.)  Earlier we are not able to use the query tool
> when any other long-running operation is In-Progress.
>
>
> --
> *Thanks & Regards,*
> *Nikhil Mohite*
> *Software Engineer.*
> *EDB Postgres* <https://www.enterprisedb.com/;
> *Mob.No: +91-7798364578.*
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-02-19 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 07:38 [pgAdmin4][RM-5793]: Unexpected behaviour with long-running operation. Nikhil Mohite <[email protected]>
2021-02-19 10:28 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox