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

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: RM #3630 Autocomplete broken in v3.3 release, works in v3.2
Date: 2018-09-11 11:56:31
Message-ID: CA+OCxow2k=zzcsu6T8OWx=jFwu6tkmyNCOko6mm1BTd_dsAF6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied.

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

>
>
> On Mon, Sep 10, 2018 at 7:08 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>>
>>
>> On Mon, Sep 10, 2018 at 2:26 PM, Akshay Joshi <
>> akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>>
>>>
>>>
>>> On Mon, Sep 10, 2018 at 6:41 PM, Akshay Joshi <akshay(dot)joshi(at)enterprisedb
>>> .com> wrote:
>>>
>>>>
>>>>
>>>> On Mon, Sep 10, 2018 at 6:38 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Sep 10, 2018 at 2:03 PM, Akshay Joshi <
>>>>> akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Sep 10, 2018 at 6:21 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> On Mon, Sep 10, 2018 at 12:50 PM, Akshay Joshi <
>>>>>>> akshay(dot)joshi(at)enterprisedb(dot)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-9517Mobile: +91 976-788-8246*
>

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

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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-09-11 13:40:41 Re: [pgAdmin4][Patch]: RM #3607 Edit Data: Not able to remove filter SQL condition
Previous Message Dave Page 2018-09-11 11:56:18 pgAdmin 4 commit: Ensure auto-complete works for objects in schemas oth