Commit 9cd43f6
committed
Fix busted tab completion of extension versions.
In 02b8048 I (tgl) got rid of the need for most tab-completion queries
to return pre-quoted identifiers. But I over-hastily removed the
quote_ident call from Query_for_list_of_available_extension_versions*
too; those still need it, because what is returned isn't an identifier
at all and will (almost?) always need quoting.
Arguably we should use quote_literal here instead. But quote_ident
works too and people may be used to that behavior, so stick with it.
In passing, fix inconsistent omission of schema-qualification in
Query_for_list_of_encodings. That's not a security issue per our
current guidelines, but it ought to be like the rest.
Jeff Janes
Discussion: https://postgr.es/m/CAMkU=1yV+egSYrzWvbDY8VZ6bKEMrKbzxr-HTuiHi+wDgSUMgA@mail.gmail.com1 parent 7bd4a9e commit 9cd43f6
1 file changed
+12
-7
lines changed| Original 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