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

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

Hi,

Please find the attached updated patch.

Thanks,
Khushboo

On Fri, Nov 25, 2016 at 2:56 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Hi
>
> This doesn't apply - can you rebase it please?
>
> Thanks.
>
> On Thu, Nov 24, 2016 at 8:57 AM, Khushboo Vashi
> <khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
> > Hi,
> >
> > Please find the attached updated patch.
> >
> > On Fri, Nov 18, 2016 at 7:45 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> >>
> >> Hi
> >>
> >> On Fri, Nov 18, 2016 at 1:03 PM, Khushboo Vashi
> >> <khushboo(dot)vashi(at)enterprisedb(dot)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?
> >>
> >
> > Fixed
> >
> >>
> >> Thanks.
> >>
> >> --
> >> Dave Page
> >> Blog: http://pgsnake.blogspot.com
> >> Twitter: @pgsnake
> >>
> >> EnterpriseDB UK: http://www.enterprisedb.com
> >> The Enterprise PostgreSQL Company
> >
> >
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

Attachment Content-Type Size
RM_1801_ver2.patch text/x-patch 28.8 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-11-25 13:42:26 Re: [pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false
Previous Message Dave Page 2016-11-25 11:46:38 Re: [pgAdmin4][Patch]: RM1840 - cannot create gist index due to enforced ASC, DESC options in generated SQL