Re: [pgAdmin4][RM#3105] Allow user to insert new row if PK is incapital letters - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][RM#3105] Allow user to insert new row if PK is incapital letters
Date
Msg-id CA+OCxozP1AtvYvGg7Yt-O9bKJELqSunJeH6oJKseYx_uZU9i5A@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin4][RM#3105] Allow user to insert new row if PK is incapital letters  (Joao De Almeida Pereira <jdealmeidapereira@pivotal.io>)
List pgadmin-hackers
Thanks guys, patch applied.

On Fri, Feb 16, 2018 at 2:30 PM, Joao De Almeida Pereira <jdealmeidapereira@pivotal.io> wrote:
Hello Murtuza,
I believe it is a bit too much to have a feature test for this. A unit test around the function in question could have sufficed, specially because we are not yet running them in Jenkins, but I think it is ok.
So I review the patch, applied and run our CI and everything is green. So I believe this patch is good to be merged.

Thanks
Joao

On Fri, Feb 16, 2018 at 5:28 AM Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi,

PFA updated patch, which includes feature test to test the scenario going forward.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Thu, Feb 15, 2018 at 7:53 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
​Sure, will do that.​

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Thu, Feb 15, 2018 at 7:34 PM, Joao De Almeida Pereira <jdealmeidapereira@pivotal.io> wrote:
Hello Murtuza,
Just reviewed your patch, and it looks good. 
Do you think you can wrap some tests around this behavior to ensure it doesn't happen again in the future?

Thanks
Joao

On Thu, Feb 15, 2018 at 8:34 AM Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi,

PFA patch to fix the issue user was not able to insert new row in the table via 'view data' if the PK is in capital letters.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Ensure we can properly update rows with upper-casepr
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Add missing reverse-engineered SQL header and dropst