Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMsH0-0001BJ-BN for pgadmin-hackers@arkaria.postgresql.org; Tue, 12 Jul 2016 07:38:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bMsGz-00052B-T6 for pgadmin-hackers@arkaria.postgresql.org; Tue, 12 Jul 2016 07:38:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bMsGy-000520-DF for pgadmin-hackers@postgresql.org; Tue, 12 Jul 2016 07:38:28 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bMsGv-0002h9-EA for pgadmin-hackers@postgresql.org; Tue, 12 Jul 2016 07:38:27 +0000 Received: by mail-wm0-x230.google.com with SMTP id f65so90146957wmi.0 for ; Tue, 12 Jul 2016 00:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=2DbI/QdiAnRITZV4VuADPS5RYXpzq3AJPdrjDmxn6XQ=; b=S0pNajodzhanygZPsL3+5RJPmi+bh0MD70WSx+tNznm3AF8Vt+lNDbNPa171U6MX7z ZsllKybNR+Mto/75eNWodh7jC6c/z7fGl1TWoXocXjoTL4KkTXWfaVpKOrh4WR8BxDZN 2UPr7tgfRFmTBJKP7U0fa4O0TqjFeDs8ggseBQywuwdiWhRkAtdbeJQ0c3o8A9a4JB9o F7zlsYprAjZjkXSghPtJ1tdtqE9SQJCKe3LsTr0yG4bx8ScOIvL6DlvzxULaOou6X1NQ aR+K89h2uwb4qHkPp1HkCjSvJbDhFrx8fs1Ix482AZXKAXVZK6y+FT7wyC6sZvDGtGSN QYzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2DbI/QdiAnRITZV4VuADPS5RYXpzq3AJPdrjDmxn6XQ=; b=C72zzI6mb3E0RjXMTNliuak7F8WgfWtYAmptKJRoFz13k1S3xiWcrojgQT83sf1Uv9 rlvFewtCb9O1WF4Rvq0a4A/bhpU/RU+apHbNT1F+JW2OX+xRw7sZ6XUs93d+BIkoruRa mY1mjm/CBMc2aY45ey7JzcF3Vyx0SLl6y+SuyTUP/3inXth9B94/NxvXehO9y4y6yNNq t2NcIw5niOs9RHgbIXCkq8ZbljNHP6HvLerszeWd3kBKPxRSOVVwfux7k2MGI1OtUVT5 lr2QLT3Tl6hnO/cR41HGJNNFE+RyTMTJ5GL4BDKTgfeF/7TJ+7ZZc0KMMQ7hpLTmHc3L isxw== X-Gm-Message-State: ALyK8tLI2RNo9CFZI9ZWixJfeEpM0t0GEqBYBpUp+NZrPwrXONYCxo+c62C4m+c5XGeBPbLGWQYpJHztMSwEZbud X-Received: by 10.194.242.66 with SMTP id wo2mr916721wjc.144.1468309103241; Tue, 12 Jul 2016 00:38:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.54.164 with HTTP; Tue, 12 Jul 2016 00:37:53 -0700 (PDT) From: Surinder Kumar Date: Tue, 12 Jul 2016 13:07:53 +0530 Message-ID: Subject: [pgAdmin4][Patch]: CanDrop option is missing for newly created database To: pgadmin-hackers Content-Type: multipart/mixed; boundary=089e013d13ba85970405376b5a4c X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --089e013d13ba85970405376b5a4c Content-Type: multipart/alternative; boundary=089e013d13ba8596ff05376b5a4a --089e013d13ba8596ff05376b5a4a Content-Type: text/plain; charset=UTF-8 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 --089e013d13ba8596ff05376b5a4a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi

I found this issue while working on = an RM case.=C2=A0

Solution:
setti= ng canDrop flag to True fix the issue.

Plea= se find attached patch with fix and review.


Thanks,
Surinder Kumar

--089e013d13ba8596ff05376b5a4a-- --089e013d13ba85970405376b5a4c Content-Type: application/octet-stream; name="canDrop_missing_for_new_created_db.patch" Content-Disposition: attachment; filename="canDrop_missing_for_new_created_db.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iqj5dmuu0 ZGlmZiAtLWdpdCBhL3dlYi9wZ2FkbWluL2Jyb3dzZXIvc2VydmVyX2dyb3Vw cy9zZXJ2ZXJzL2RhdGFiYXNlcy9fX2luaXRfXy5weSBiL3dlYi9wZ2FkbWlu L2Jyb3dzZXIvc2VydmVyX2dyb3Vwcy9zZXJ2ZXJzL2RhdGFiYXNlcy9fX2lu aXRfXy5weQppbmRleCAxZjdmZDA3Li4wNmYzNDEzIDEwMDY0NAotLS0gYS93 ZWIvcGdhZG1pbi9icm93c2VyL3NlcnZlcl9ncm91cHMvc2VydmVycy9kYXRh YmFzZXMvX19pbml0X18ucHkKKysrIGIvd2ViL3BnYWRtaW4vYnJvd3Nlci9z ZXJ2ZXJfZ3JvdXBzL3NlcnZlcnMvZGF0YWJhc2VzL19faW5pdF9fLnB5CkBA IC00OTksNyArNDk5LDggQEAgY2xhc3MgRGF0YWJhc2VWaWV3KFBHQ2hpbGRO b2RlVmlldyk6CiAgICAgICAgICAgICAgICAgICAgIHRhYmxlc3BhY2U9cmVz cG9uc2VbJ2RlZmF1bHRfdGFibGVzcGFjZSddLAogICAgICAgICAgICAgICAg ICAgICBhbGxvd0Nvbm49VHJ1ZSwKICAgICAgICAgICAgICAgICAgICAgY2Fu Q3JlYXRlPXJlc3BvbnNlWydjYW5jcmVhdGUnXSwKLSAgICAgICAgICAgICAg ICAgICAgY2FuRGlzY29ubj1UcnVlCisgICAgICAgICAgICAgICAgICAgIGNh bkRpc2Nvbm49VHJ1ZSwKKyAgICAgICAgICAgICAgICAgICAgY2FuRHJvcD1U cnVlCiAgICAgICAgICAgICAgICAgKQogICAgICAgICAgICAgKQogCg== --089e013d13ba85970405376b5a4c Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers --089e013d13ba85970405376b5a4c--