Support tab completion for upper character inputs in psql - Mailing list pgsql-hackers

From Tang, Haiying
Subject Support tab completion for upper character inputs in psql
Date
Msg-id a63cbd45e3884cf9b3961c2a6a95dcb7@G08CNEXMBPEKD05.g08.fujitsu.local
Whole thread Raw
Responses Re: Support tab completion for upper character inputs in psql
List pgsql-hackers
Hi Hackers,

When using psql I found there's no tab completion for upper character inputs. It's really inconvenient sometimes so I
tryto fix this problem in the attached patch. 

Here is the examples to show what this patch can do.
Action:
1. connect the db using psql
2. input SQL command
3. enter TAB key(twice at the very first time)

Results:
[master]
postgres=# set a
all                      allow_system_table_mods  application_name         array_nulls
postgres=# set A

postgres=# set A

[patched]
postgres=# set a
all                      allow_system_table_mods  application_name         array_nulls
postgres=# set A
ALL                      ALLOW_SYSTEM_TABLE_MODS  APPLICATION_NAME         ARRAY_NULLS
postgres=# set A

Please take a check at this patch. Any comment is welcome.

Regards,
Tang



Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()
Next
From: Julien Rouhaud
Date:
Subject: Re: REINDEX backend filtering