Re: [pgAdmin4][Patch][RM_2191] : Add support for the hostaddr connection parameter

From: Atul Sharma <atul(dot)sharma(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_2191] : Add support for the hostaddr connection parameter
Date: 2017-06-23 14:59:43
Message-ID: CACsXrw6Tsajc6k8ObQczKobh0-ZWZ91L=O1DFATVNBT649068w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Please find updated patch.

Regards,
Atul

On Thu, Jun 22, 2017 at 5:02 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Hi
>
> On Thu, Jun 22, 2017 at 11:05 AM, Atul Sharma
> <atul(dot)sharma(at)enterprisedb(dot)com> wrote:
> > Hi,
> >
> > Please find attached patch for RM #2191 : Add support for hostaddr
> > connection parameter
>
> Unfortunately there are a few issues with this patch:
>
> - It needs rebasing (blame Ashesh :-p )
>
> - It's missing the documentation update (and screenshot update)
>
> - I'm not sure the validation for a valid IPv6 address in
> check_for_valid_ipv6 is correct. For example:
>
> /^(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}$/.test('::1');
> false
> /^(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}$/.test('fe80::187f:316f:4bb8:8a3d');
> false
>
> Both of those are valid addresses.
>
> Note that I've only eye-balled the patch so far, as I was unable to
> apply it without manual work.
>
> Thanks!
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

Attachment Content-Type Size
RM_2191_ver2.patch application/octet-stream 13.0 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-06-23 15:19:16 Re: [pgAdmin4][Patch][RM_2191] : Add support for the hostaddr connection parameter
Previous Message Dave Page 2017-06-23 13:39:05 Re: [pgAdmin4][Patch] To fix the issue in Debugger module