mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Add tab completion for \pset in psql.
Pavel Stehule, reviewed by Ian Lawrence Barwick
This commit is contained in:
parent
bd5a9a50e4
commit
b1543cc8a8
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user