Fixed an issue where shared servers import is failing. Fixes #6022

This commit is contained in:
Nikhil Mohite 2020-12-03 10:40:52 +05:30 committed by Akshay Joshi
parent 794bd50ed1
commit 1c5cb63aff
2 changed files with 4 additions and 0 deletions

View File

@ -31,3 +31,4 @@ Bug fixes
| `Issue #5992 <https://redmine.postgresql.org/issues/5992>`_ - Fixed an issue where escape character is shown when the server/database name has some special characters.
| `Issue #5998 <https://redmine.postgresql.org/issues/5998>`_ - Fixed an issue where schema diff doesn't show the result of compare if source schema has tables with RLS.
| `Issue #6003 <https://redmine.postgresql.org/issues/6003>`_ - Fixed an issue where an illegal argument is showing for trigger SQL when a trigger is created for View.
| `Issue #6022 <https://redmine.postgresql.org/issues/6022>`_ - Fixed an issue where shared servers import is failing.

View File

@ -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: