]> granicus.if.org Git - postgresql/commit
Minimal psql tab completion support for SET search_path.
authorAndres Freund <andres@anarazel.de>
Sat, 12 Jul 2014 13:44:39 +0000 (15:44 +0200)
committerAndres Freund <andres@anarazel.de>
Sat, 12 Jul 2014 13:44:39 +0000 (15:44 +0200)
commitbd409519bd19911d2d2cba64415447d2fa9d766b
tree9a8494f50c7e5af5f11bdfb078a123466ef49524
parent626bfad6cc5701eb385b8995e1431ad6a5f24928
Minimal psql tab completion support for SET search_path.

Complete SET search_path = ... to non-temporary and non-toast
schemas. Since there pretty much is no use case to add those to the
search path and there can be many it's helpful to exclude them.

It'd be nicer to complete multiple search path elements, but that's
not easy.

Jeff Janes
src/bin/psql/tab-complete.c