postgresql/src/bin
Tom Lane 207fc033bd Simplify tab completion of extension versions, redux.
After commit 662dbe2c8, psql tab completion didn't conveniently
support the case of "ALTER EXTENSION foo UPDATE".  It'd always
add "TO", which is fine if you want to specify a target version
but not if you don't ... and surely the latter is the much more
common case.

To fix, remove "TO" from the initially offered completion; you now
need to press TAB one additional time to get that.  We won't try to
duplicate the old behavior of attempting initial completion on the
target version along with TO.  It's too squirrelly to get the quoting
right, and this is such an infrequent usage that it doesn't seem worth
expending a lot of effort and special code on.

Noted by Noah Misch.  Back-patch to v15.

Discussion: https://postgr.es/m/20220703083217.GB2476530@rfd.leadboat.com
2022-07-03 15:27:27 -04:00
..
initdb Default to dynamic_shared_memory_type=sysv on Solaris. 2022-07-02 16:23:30 +12:00
pg_amcheck Don't fail on libpq-generated error reports in pg_amcheck. 2022-06-06 11:26:57 -04:00
pg_archivecleanup Translation updates 2022-05-16 11:12:42 +02:00
pg_basebackup Translation updates 2022-06-27 08:19:02 +02:00
pg_checksums Translation updates 2022-05-16 11:12:42 +02:00
pg_config Translation updates 2022-05-16 11:12:42 +02:00
pg_controldata Translation updates 2022-05-16 11:12:42 +02:00
pg_ctl Translation updates 2022-05-16 11:12:42 +02:00
pg_dump pgindent run prior to branching v15. 2022-06-30 11:03:03 -04:00
pg_resetwal Translation updates 2022-05-16 11:12:42 +02:00
pg_rewind Translation updates 2022-05-16 11:12:42 +02:00
pg_test_fsync Translation updates 2022-05-16 11:12:42 +02:00
pg_test_timing Translation updates 2022-05-16 11:12:42 +02:00
pg_upgrade pgindent run prior to branching v15. 2022-06-30 11:03:03 -04:00
pg_verifybackup Translation updates 2022-05-16 11:12:42 +02:00
pg_waldump Translation updates 2022-06-27 08:19:02 +02:00
pgbench pgbench: Restore compatibility of --partitions=0 2022-05-18 09:47:38 +09:00
pgevent Update copyright for 2022 2022-01-07 19:04:57 -05:00
psql Simplify tab completion of extension versions, redux. 2022-07-03 15:27:27 -04:00
scripts Translation updates 2022-05-16 11:12:42 +02:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00