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

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
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 06:21:24
Message-ID: CANxoLDf_yh7z8gkVE+jccq+5k1gZh+DjNsOs5RRAfYC6Na4WGA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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*

Attachment Content-Type Size
RM_3630_v2.patch application/octet-stream 4.8 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2018-09-11 09:12:45 [pgAdmin4][Patch]: RM #3607 Edit Data: Not able to remove filter SQL condition
Previous Message Akshay Joshi 2018-09-11 05:50:19 Re: [pgAdmin4][Patch]: Feature 3564 pgAdmin4 should have shortcut tools bar for frequently used features