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-10 13:38:15
Message-ID: CA+OCxoyAAn5z_-QSiMD2vNBm7YLusKUDLcLgW=tT6GTTKesnnw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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.

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

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-09-10 14:16:18 pgAdmin 4 commit: Add shortcuts for View Data and the Query tool to the
Previous Message Akshay Joshi 2018-09-10 13:26:51 Re: [pgAdmin4][Patch]: RM #3630 Autocomplete broken in v3.3 release, works in v3.2