Re: [pgAdmin4][Patch]: RM #3077 - ERROR: invalid byte sequence forencoding "LATIN1":0x00 - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][Patch]: RM #3077 - ERROR: invalid byte sequence forencoding "LATIN1":0x00
Date
Msg-id CA+OCxowewcNdbkyHe-1Y0w3HA3R_eTKA5mBKDvF48PArj4pp0Q@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin4][Patch]: RM #3077 - ERROR: invalid byte sequence forencoding "LATIN1":0x00  (Joao De Almeida Pereira <jdealmeidapereira@pivotal.io>)
Responses Re: [pgAdmin4][Patch]: RM #3077 - ERROR: invalid byte sequence forencoding "LATIN1":0x00  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers


On Wed, Feb 21, 2018 at 3:45 PM, Joao De Almeida Pereira <jdealmeidapereira@pivotal.io> wrote:
Hi 
The patch looks good, do we have any example error that we can test in order to ensure the problem no longer shows up in the future?
If they could be Unit Tests instead of Feature tests that would be awesome, because Feature tests are much more expensive then Unit.

I think we need to consider a couple of options here:

1) Make sure that many/all of our tests use non-ASCII names.

2) Consider adding a mechanism to allow running the regression tests with overridden GUC values. For example, a parameter in the test config file that gives a set of GUCs to change upon connection.

The downside of 2 of course, is that it adds a huge amount of possible environment combinations to test.

Thoughts?
 
--
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: Re: [pgAdmin4][Patch]: RM #3077 - ERROR: invalid byte sequence forencoding "LATIN1":0x00
Next
From: Joao De Almeida Pereira
Date:
Subject: Re: RM2898 Keyboard navigation in dialog tabs (nav tabs)