public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nikhil Mohite <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM-6022]: Shared servers import is failing.
Date: Wed, 2 Dec 2020 17:23:02 +0530
Message-ID: <CAOBg0AOPTWYFaPyr87vnrSrvnX6-b=HS2Mp=3RPmNW3Qamnghw@mail.gmail.com> (raw)

Hi Team,

Please find the patch for RM-6022
<https://redmine.postgresql.org/issues/6022;: Shared servers import is
failing.
added missing shared server flag while loading servers.

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


Attachments:

  [application/octet-stream] RM_6022.patch (398B, 3-RM_6022.patch)
  download | inline diff:
diff --git a/web/setup.py b/web/setup.py
index fbc7f1e..3f66766 100644
--- a/web/setup.py
+++ b/web/setup.py
@@ -346,6 +346,9 @@ def load_servers(args):
             new_server.tunnel_authentication = \
                 obj.get("TunnelAuthentication", None)
 
+            new_server.shared = \
+                obj.get("Shared", None)
+
             db.session.add(new_server)
 
             try:


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin][RM-6022]: Shared servers import is failing.
  In-Reply-To: <CAOBg0AOPTWYFaPyr87vnrSrvnX6-b=HS2Mp=3RPmNW3Qamnghw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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