postgresql/src/bin
Tom Lane f0cd9097cf Further tweaks for psql's new tab-completion logic.
The behavior I proposed, of matching case only when only keywords
are available to complete, turns out to be too cute.  It adds about
as many problems as it removes.  Simplify down to ilmari's original
proposal of just always matching case when completing a keyword.

Also, I noticed while testing this that we've pessimized the behavior
for qualified GUC names: the code is insisting that they be
double-quoted, which was not the case before.  Fix that by treating
GUC names as verbatim matches instead of possibly-schema-qualified
names.  (While it's tempting to try to split qualified GUC names
so that we *could* treat them with the schema-qualified-name code
path, that really isn't going to work in light of guc.c's willingness
to allow more than two name components.)

Dagfinn Ilmari Mannsåker and Tom Lane

Discussion: https://postgr.es/m/445692.1644018081@sss.pgh.pa.us
2022-02-09 17:06:21 -05:00
..
initdb pg_upgrade: Preserve database OIDs. 2022-01-24 14:23:43 -05:00
pg_amcheck Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_archivecleanup Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_basebackup Authorize new user in pg_basebackup tests 2022-02-03 12:13:11 -05:00
pg_checksums Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_config Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_controldata Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ctl Introduce log_destination=jsonlog 2022-01-17 10:16:53 +09:00
pg_dump Free temporary memory when reading TOC 2022-02-09 14:12:55 +01:00
pg_resetwal Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_rewind Make logical decoding a part of the rmgr. 2022-01-19 14:58:49 -08:00
pg_test_fsync Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_test_timing Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_upgrade Add (void) cast in front of rmtree() call at the end of pg_upgrade 2022-02-07 14:19:52 +09:00
pg_verifybackup Remove superfluous variable. 2022-01-28 14:13:54 -05:00
pg_waldump Make logical decoding a part of the rmgr. 2022-01-19 14:58:49 -08:00
pgbench Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgevent Update copyright for 2022 2022-01-07 19:04:57 -05:00
psql Further tweaks for psql's new tab-completion logic. 2022-02-09 17:06:21 -05:00
scripts Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00