forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit22a67fd
committed
Simplify tab completion of extension versions, redux.
After commit662dbe2, psql tab completion didn't convenientlysupport the case of "ALTER EXTENSION foo UPDATE". It'd alwaysadd "TO", which is fine if you want to specify a target versionbut not if you don't ... and surely the latter is the much morecommon case.To fix, remove "TO" from the initially offered completion; you nowneed to press TAB one additional time to get that. We won't try toduplicate the old behavior of attempting initial completion on thetarget version along with TO. It's too squirrelly to get the quotingright, and this is such an infrequent usage that it doesn't seem worthexpending 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.com1 parent5faef9d commit22a67fd
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1927 | 1927 |
| |
1928 | 1928 |
| |
1929 | 1929 |
| |
1930 |
| - | |
| 1930 | + | |
1931 | 1931 |
| |
1932 | 1932 |
| |
1933 | 1933 |
| |
|
0 commit comments
Comments
(0)