Commit b1543cc8 authored by Fujii Masao's avatar Fujii Masao

Add tab completion for \pset in psql.

Pavel Stehule, reviewed by Ian Lawrence Barwick
parent bd5a9a50
...@@ -3335,9 +3335,10 @@ psql_completion(char *text, int start, int end) ...@@ -3335,9 +3335,10 @@ psql_completion(char *text, int start, int end)
else if (strcmp(prev_wd, "\\pset") == 0) else if (strcmp(prev_wd, "\\pset") == 0)
{ {
static const char *const my_list[] = static const char *const my_list[] =
{"format", "border", "expanded", {"border", "columns", "expanded", "fieldsep", "fieldsep_zero",
"null", "fieldsep", "tuples_only", "title", "tableattr", "footer", "format", "linestyle", "null", "numericlocale",
"linestyle", "pager", "recordsep", NULL}; "pager", "recordsep", "recordsep_zero", "tableattr", "title",
"tuples_only", NULL};
COMPLETE_WITH_LIST_CS(my_list); COMPLETE_WITH_LIST_CS(my_list);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment