Re: [pgAdmin4][Patch]: RM #3630 Autocomplete broken in v3.3 release,works in v3.2

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: [pgAdmin4][Patch]: RM #3630 Autocomplete broken in v3.3 release,works in v3.2
Дата
Msg-id CA+OCxow2k=zzcsu6T8OWx=jFwu6tkmyNCOko6mm1BTd_dsAF6g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgAdmin4][Patch]: RM #3630 Autocomplete broken in v3.3 release,works in v3.2  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
Thanks, patch applied.

On Tue, Sep 11, 2018 at 7:21 AM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:


On Mon, Sep 10, 2018 at 7:08 PM, Dave Page <dpage@pgadmin.org> wrote:


On Mon, Sep 10, 2018 at 2:26 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:


On Mon, Sep 10, 2018 at 6:41 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:


On Mon, Sep 10, 2018 at 6:38 PM, Dave Page <dpage@pgadmin.org> wrote:


On Mon, Sep 10, 2018 at 2:03 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:


On Mon, Sep 10, 2018 at 6:21 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

On Mon, Sep 10, 2018 at 12:50 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Hackers, 

Attached is the patch to fix the RM #3630 Autocomplete broken in v3.3 release, works in v3.2. Actual issue is due to merge the pgcli code, we only consider "pg_catalog and public" schema's which I have fixed. 

Can you add a unit/API test for this please (ideally not another feature test, as we already have some for autocomplete)? 

   We are waiting for pytest to be introduce in pgAdmin4, pgcli have API test written in pytest.     

That could be a very long wait. It seems unlikely that will proceed.

    OK, than I'll have to write from the scratch as till now no unit/API test cases has been implemented for auto complete. 

       Can we create a separate RM to write test cases and commit this small fix?  

Well we already have some tests for autocomplete right? Can we not add one easily to test objects in schemas other than pg_catalog/public? I guess they would have to be feature test additions, but hopefully low cost. 

    Yes we have some feature tests for autocomplete. Attached is the updated patch with feature test to check the schemas other than pg_catalog/public.


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



--
Akshay Joshi
Sr. Software Architect


Phone: +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

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Ensure auto-complete works for objects in schemasoth
Следующее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin4][Patch]: RM #3607 Edit Data: Not able to remove filterSQL condition