Re: [pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false
Date
Msg-id CA+OCxowuUzo1dWeRRya-CY23ddybNnptudBm5Yuvz66uGK2DkQ@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
Responses Re: [pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi

On Fri, Nov 18, 2016 at 1:03 PM, Khushboo Vashi
<khushboo.vashi@enterprisedb.com> wrote:
> 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.

All good, but this is just infrastructure for what's really required;
i.e. disabling menu options to do things like backups, run the query
tool etc. (anything that needs a connection). Can you resolve that
please?

Thanks.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin4][Patch]: RM #1855
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Render column headers at the correct width in the que