public inbox for [email protected]
help / color / mirror / Atom feedFrom: Surinder Kumar <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin4][Patch]: CanDrop option is missing for newly created database
Date: Tue, 12 Jul 2016 13:07:53 +0530
Message-ID: <CAM5-9D_bXwwRof6jLOSexvKskay-bkCLJURu2hHjNCDfC+hO6w@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
Hi
I found this issue while working on an RM case.
*Solution:*
setting *canDrop* flag to True fix the issue.
Please find attached patch with fix and review.
Thanks,
Surinder Kumar
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
Attachments:
[application/octet-stream] canDrop_missing_for_new_created_db.patch (670B, 3-canDrop_missing_for_new_created_db.patch)
download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/__init__.py
index 1f7fd07..06f3413 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/__init__.py
+++ b/web/pgadmin/browser/server_groups/servers/databases/__init__.py
@@ -499,7 +499,8 @@ class DatabaseView(PGChildNodeView):
tablespace=response['default_tablespace'],
allowConn=True,
canCreate=response['cancreate'],
- canDisconn=True
+ canDisconn=True,
+ canDrop=True
)
)
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: [pgAdmin4][Patch]: CanDrop option is missing for newly created database
In-Reply-To: <CAM5-9D_bXwwRof6jLOSexvKskay-bkCLJURu2hHjNCDfC+hO6w@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