Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b1543cc

Browse files
committed
Add tab completion for \pset in psql.
Pavel Stehule, reviewed by Ian Lawrence Barwick
1 parent bd5a9a5 commit b1543cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/bin/psql/tab-complete.c

+4-3
Original file line numberDiff line numberDiff line change
@@ -3335,9 +3335,10 @@ psql_completion(char *text, int start, int end)
33353335
else if (strcmp(prev_wd, "\\pset") == 0)
33363336
{
33373337
static const char *const my_list[] =
3338-
{"format", "border", "expanded",
3339-
"null", "fieldsep", "tuples_only", "title", "tableattr",
3340-
"linestyle", "pager", "recordsep", NULL};
3338+
{"border", "columns", "expanded", "fieldsep", "fieldsep_zero",
3339+
"footer", "format", "linestyle", "null", "numericlocale",
3340+
"pager", "recordsep", "recordsep_zero", "tableattr", "title",
3341+
"tuples_only", NULL};
33413342

33423343
COMPLETE_WITH_LIST_CS(my_list);
33433344
}

0 commit comments

Comments
 (0)