[pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false
Date: 2016-11-18 13:03:18
Message-ID: CAFOhELf1vE0xu5oxv8Mq2cHioDUoF5a3BgSqgJ96n9O5ASB8GQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Please find the attached patch for RM #1801: Properly handle databases with
datallowconn == false.

Issue: While connecting the database, allowconn parameter was not in
consideration. Also, the database properties query call was on the
selected database which was not correct.

Fix: Put the check of allowconn, while connecting the database in JS file.
Also, the database properties query call set to the maintenance database.

Thanks,
Khushboo

Attachment Content-Type Size
RM_1801.patch text/x-patch 4.9 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Murtuza Zabuawala 2016-11-18 13:18:48 PATCH: To fix the issue grid columns alignment in Firefox (pgAdmin4)
Previous Message Dave Page 2016-11-18 12:05:25 pgAdmin 4 commit: Allow selection of process output and commands.