Re: [pgAdmin4][Patch][RM_2191] : Add support for the hostaddrconnection parameter - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][Patch][RM_2191] : Add support for the hostaddrconnection parameter
Date
Msg-id CA+OCxowNzU7sE-aQG9oxPvdpMw==A11dAF03v7_bNn90=Gjtuw@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][Patch][RM_2191] : Add support for the hostaddr connection parameter  (Atul Sharma <atul.sharma@enterprisedb.com>)
Responses Re: [pgAdmin4][Patch][RM_2191] : Add support for the hostaddrconnection parameter  (Atul Sharma <atul.sharma@enterprisedb.com>)
List pgadmin-hackers
Hi

On Thu, Jun 22, 2017 at 11:05 AM, Atul Sharma
<atul.sharma@enterprisedb.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


pgadmin-hackers by date:

Previous
From: pgAdmin 4 Jenkins
Date:
Subject: Build failed in Jenkins: pgadmin4-master-python36 #189
Next
From: Murtuza Zabuawala
Date:
Subject: [pgAdmin4][Patch] To fix the in Import/Export module