mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Properly handle setting comments and other options on databases with allowconn = False. Fixes #2024
This commit is contained in:
committed by
Dave Page
parent
6d05302ca1
commit
2d442da9ff
@@ -1525,6 +1525,8 @@ WHERE db.oid = {0}""".format(did))
|
||||
if my_id in self.connections:
|
||||
self.connections[my_id]._release()
|
||||
del self.connections[my_id]
|
||||
if did is not None:
|
||||
del self.db_info[did]
|
||||
|
||||
if len(self.connections) == 0:
|
||||
self.ver = None
|
||||
|
||||
Reference in New Issue
Block a user