Hi
attached trivial patch for missing tab complete for \pset pager setting
Regards
Pavel
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index e9fdc908c7..1b15c5b0d1 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3536,6 +3536,8 @@ psql_completion(const char *text, int start, int end)
"unicode_column_linestyle|"
"unicode_header_linestyle"))
COMPLETE_WITH_LIST_CS2("single", "double");
+ else if (TailMatchesCS1("pager"))
+ COMPLETE_WITH_LIST_CS3("on", "off", "always");
}
else if (TailMatchesCS1("\\unset"))
matches = complete_from_variables(text, "", "", true);
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers