mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
psql: Add variable to control keyword case in tab completion
This adds the variable COMP_KEYWORD_CASE, which controls in what case
keywords are completed. This is partially to let users configure the
change from commit 69f4f1c357, but it
also offers more behaviors than were available before.
This commit is contained in:
@@ -2656,6 +2656,22 @@ bar
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>COMP_KEYWORD_CASE</varname></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Determines which letter case to use when completing an SQL key word.
|
||||
If set to <literal>lower</literal> or <literal>upper</literal>, the
|
||||
completed word will be in lower or upper case, respectively. If set
|
||||
to <literal>preserve-lower</literal>
|
||||
or <literal>preserve-upper</literal> (the default), the completed word
|
||||
will be in the case of the word already entered, but words being
|
||||
completed without anything entered will be in lower or upper case,
|
||||
respectively.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>DBNAME</varname></term>
|
||||
<listitem>
|
||||
|
||||
Reference in New Issue
Block a user