aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-06-18 19:45:38 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-06-18 19:45:38 -0400
commit9cd43f6cbd8b6fbac6837bcdba5e12f0ecbafefb (patch)
tree83bcfe25521d671dad3b3300134e4d3e64c8d0e4 /src/tutorial
parent7bd4a9e9901966fb35acd509af0d468881aa5d22 (diff)
downloadpostgresql-9cd43f6cbd8b6fbac6837bcdba5e12f0ecbafefb.tar.gz
postgresql-9cd43f6cbd8b6fbac6837bcdba5e12f0ecbafefb.zip
Fix busted tab completion of extension versions.
In 02b8048ba 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.com
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions