Minimal psql tab completion support for SET search_path

Enterprise / PostgreSQL - Andres Freund [anarazel.de] - 12 July 2014 08:44 UTC

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

bd40951 Minimal psql tab completion support for SET search_path.
src/bin/psql/tab-complete.c | 7 +++++++
1 file changed, 7 insertions(+)

Upstream: git.postgresql.org


  • Share