Re: [pgadmin4][Patch]: Feature #3388 Allow to set the connectiontimeout on the server properties dialog
От | Dave Page |
---|---|
Тема | Re: [pgadmin4][Patch]: Feature #3388 Allow to set the connectiontimeout on the server properties dialog |
Дата | |
Msg-id | CA+OCxoySJxnMKohyHSNXr2W8yJ91yw8t8HDBDBCGbqoDigccPg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [pgadmin4][Patch]: Feature #3388 Allow to set the connectiontimeout on the server properties dialog (Akshay Joshi <akshay.joshi@enterprisedb.com>) |
Список | pgadmin-hackers |
Thanks, applied.
On Tue, Jun 19, 2018 at 12:18 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
HiOn Tue, Jun 19, 2018 at 2:11 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote: HiOn Mon, Jun 18, 2018 at 10:39 PM, Dave Page <dpage@pgadmin.org> wrote:HiOn Mon, Jun 18, 2018 at 12:18 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote: Hi Hackers,Attached is the patch for Feature #3388 Allow to set the connection timeout on the server properties dialog. Please review it.I took a quick look at this and had some questions/comments:- Doc updates seem to be missing.My bad, again I forgot to do that. Fixed in attached patch.- The timeout should be passed through to external utilities like pg_dump/pg_restore.I am not able to see any option to set the timeout for pg_dump/pg_restore.Fixed it by setting environment variable "PGCONNECT_TIMEOUT". Attached is the new updated patch.
- Can/should the timeout be extended to the SSH tunnels?No option to set the timeout, I have check the sshtunnel's documentation.- Any refactoring opportunities in the code you're touching?Not seen any logic that can be refactored.Thanks.Apart from above, I have found one issue in datamodel.js when setting the min value to 0 for input control, it didn't work.--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Akshay JoshiSr. Software ArchitectPhone: +91 20-3058-9517
Mobile: +91 976-788-8246--Akshay JoshiSr. Software ArchitectPhone: +91 20-3058-9517
Mobile: +91 976-788-8246
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
В списке pgadmin-hackers по дате отправления: