forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9cd43f6
committed
Fix busted tab completion of extension versions.
In02b8048 I (tgl) got rid of the need for most tab-completion queriesto return pre-quoted identifiers. But I over-hastily removed thequote_ident call from Query_for_list_of_available_extension_versions*too; those still need it, because what is returned isn't an identifierat all and will (almost?) always need quoting.Arguably we should use quote_literal here instead. But quote_identworks too and people may be used to that behavior, so stick with it.In passing, fix inconsistent omission of schema-qualification inQuery_for_list_of_encodings. That's not a security issue per ourcurrent guidelines, but it ought to be like the rest.Jeff JanesDiscussion:https://postgr.es/m/CAMkU=1yV+egSYrzWvbDY8VZ6bKEMrKbzxr-HTuiHi+wDgSUMgA@mail.gmail.com1 parent7bd4a9e commit9cd43f6
1 file changed
+12
-7
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
241 | 246 |
| |
242 | 247 |
| |
243 | 248 |
| |
| |||
992 | 997 |
| |
993 | 998 |
| |
994 | 999 |
| |
995 |
| - | |
| 1000 | + | |
996 | 1001 |
| |
997 | 1002 |
| |
998 | 1003 |
| |
| |||
1076 | 1081 |
| |
1077 | 1082 |
| |
1078 | 1083 |
| |
1079 |
| - | |
| 1084 | + | |
1080 | 1085 |
| |
1081 |
| - | |
| 1086 | + | |
1082 | 1087 |
| |
1083 |
| - | |
| 1088 | + | |
1084 | 1089 |
| |
1085 | 1090 |
| |
1086 |
| - | |
| 1091 | + | |
1087 | 1092 |
| |
1088 |
| - | |
| 1093 | + | |
1089 | 1094 |
| |
1090 |
| - | |
| 1095 | + | |
1091 | 1096 |
| |
1092 | 1097 |
| |
1093 | 1098 |
| |
|
0 commit comments
Comments
(0)