pgsql: Fix case sensitivity in psql's tab completion for GUC names.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix case sensitivity in psql's tab completion for GUC names.
Date: 2022-04-13 20:26:46
Message-ID: E1nejZe-000NhS-LT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix case sensitivity in psql's tab completion for GUC names.

Input for these should be case-insensitive, but was not completely
so. Comparing to the similar queries for timezone names, I realized
that we'd missed forcing the comparison pattern to lower-case.
With that, it behaves as I expect.

While here, flatten the sub-selects in these queries; I don't
find that those add any readability.

Discussion: https://postgr.es/m/3369130.1649348542@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b5607b0746f40b3f5b38004c64ccc9697ee1e222

Modified Files
--------------
src/bin/psql/tab-complete.c | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2022-04-13 21:16:24 pgsql: Docs: fix some spelling mistakes and also do some wordsmithing
Previous Message Tom Lane 2022-04-13 19:04:03 pgsql: Further tweak the default behavior of psql's \dconfig.