From: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> |
---|---|
To: | "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com>, David Zhang <david(dot)zhang(at)highgo(dot)ca>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Support tab completion for upper character inputs in psql |
Date: | 2021-04-08 07:13:44 |
Message-ID: | b14262e4-2d53-ae20-cee8-b8db708b49d5@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 01.04.21 11:40, tanghy(dot)fnst(at)fujitsu(dot)com wrote:
> On Wednesday, March 31, 2021 4:05 AM, David Zhang <david(dot)zhang(at)highgo(dot)ca> wrote
>
>> 8 postgres=# update tbl SET DATA =
>> 9
>> 10 postgres=# update TBL SET
>> 11
>> 12 postgres=#
>>
>> So, as you can see the difference is between line 8 and 10 in case 2. It
>> looks like the lowercase can auto complete more than the uppercase;
>> secondly, if you can add some test cases, it would be great.
>
> Thanks for your test. I fix the bug and add some tests for it.
> Please find attached the latest patch V4.
>
> Differences from v3 are:
> * fix an issue reported by Zhang [1] where a scenario was found which still wasn't able to realize tap completion in query.
> * add some tap tests.
Seeing the tests you provided, it's pretty obvious that the current
behavior is insufficient. I think we could probably think of a few more
tests, for example exercising the "If case insensitive matching was
requested initially, adjust the case according to setting." case, or
something with quoted identifiers. I'll push this to the next commit
fest for now. I encourage you to keep working on it.
From | Date | Subject | |
---|---|---|---|
Next Message | Andrey Borodin | 2021-04-08 07:24:55 | Re: MultiXact\SLRU buffers configuration |
Previous Message | Jaime Casanova | 2021-04-08 07:08:52 | maximum columns for brin bloom indexes |