diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-02-01 17:05:09 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-02-01 17:05:09 -0500 |
commit | 020258fbd30d37ddd03d0ec68264d1544f8d2838 (patch) | |
tree | f9ecdc08b5dcc76b6caefaea7f24e97dfa18b653 /src/backend/access/gist/gist.c | |
parent | a5a9d77b8b4ea636ca5f8ae115c00a031c94c56c (diff) | |
download | postgresql-020258fbd30d37ddd03d0ec68264d1544f8d2838.tar.gz postgresql-020258fbd30d37ddd03d0ec68264d1544f8d2838.zip |
Treat case of tab-completion keywords a bit more carefully.
When completing keywords that are offered alongside names obtained
from a query, preserve the user's choice of keyword case. This
would have been messy to do before 02b8048ba, but now it's fairly
simple. A complication is that we want keywords to be shown in
upper case in any tab-completion menus that include both keywords
and non-keywords, so we can't switch their case until enough has
been typed that only keyword(s) remain to be chosen.
Also, adjust some places where 02b8048ba thoughtlessly held over
a previous choice to display keywords in lower case. (I think
I got confused as to whether those words were keywords or variable
names, but they're the former.)
Dagfinn Ilmari Mannsåker and Tom Lane
Discussion: https://postgr.es/m/8735l41ynm.fsf@wibble.ilmari.org
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions