forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit662dbe2
committed
Simplify tab completion of extension versions.
Second thoughts about9cd43f6: given that we're staying bug-compatiblewith the old behavior of using double not single quotes for extensionversions, we can simplify this completion code by pretending thatextension versions *are* identifiers, and not using VERBATIM. Then_complete_from_query() will think that the query results are identifiersin need of quoting, and we end up with the same behavior as before.This doesn't work for Query_for_list_of_available_extension_versions_with_TO,but let's just drop that: there is no other place where we handlemulti-keyword phrases that way, and it doesn't seem very desirable hereeither. Handle completion of "UPDATE TO" in our more usual pattern.Discussion:https://postgr.es/m/CAMkU=1yV+egSYrzWvbDY8VZ6bKEMrKbzxr-HTuiHi+wDgSUMgA@mail.gmail.com1 parent75bfe74 commit662dbe2
1 file changed
+12
-22
lines changedLines changed: 12 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
246 | 248 |
| |
247 | 249 |
| |
248 | 250 |
| |
| |||
1081 | 1083 |
| |
1082 | 1084 |
| |
1083 | 1085 |
| |
1084 |
| - | |
1085 | 1086 |
| |
1086 |
| - | |
| 1087 | + | |
1087 | 1088 |
| |
1088 |
| - | |
1089 |
| - | |
1090 |
| - | |
1091 |
| - | |
1092 |
| - | |
1093 |
| - | |
1094 |
| - | |
1095 |
| - | |
1096 |
| - | |
| 1089 | + | |
1097 | 1090 |
| |
1098 | 1091 |
| |
1099 | 1092 |
| |
| |||
1934 | 1927 |
| |
1935 | 1928 |
| |
1936 | 1929 |
| |
1937 |
| - | |
| 1930 | + | |
1938 | 1931 |
| |
1939 | 1932 |
| |
1940 | 1933 |
| |
1941 |
| - | |
1942 |
| - | |
1943 |
| - | |
1944 |
| - | |
| 1934 | + | |
1945 | 1935 |
| |
1946 | 1936 |
| |
1947 | 1937 |
| |
1948 | 1938 |
| |
1949 | 1939 |
| |
1950 |
| - | |
| 1940 | + | |
1951 | 1941 |
| |
1952 | 1942 |
| |
1953 | 1943 |
| |
| |||
2824 | 2814 |
| |
2825 | 2815 |
| |
2826 | 2816 |
| |
2827 |
| - | |
| 2817 | + | |
2828 | 2818 |
| |
2829 | 2819 |
| |
2830 | 2820 |
| |
|
0 commit comments
Comments
(0)