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

From Khushboo Vashi
Subject [pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false
Date
Msg-id CAFOhELf1vE0xu5oxv8Mq2cHioDUoF5a3BgSqgJ96n9O5ASB8GQ@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: RM #1801 : Properly handle databases with datallowconn == false  (Dave Page <dpage@pgadmin.org>)
List 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Allow selection of process output and commands.
Next
From: Murtuza Zabuawala
Date:
Subject: PATCH: To fix the issue grid columns alignment in Firefox (pgAdmin4)