aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2013-11-19 23:44:14 +0900
committerFujii Masao <fujii@postgresql.org>2013-11-19 23:44:14 +0900
commitb1543cc8a84bc3ca699497286608274c2533fd53 (patch)
tree40f2b492ef9af89573dc3182e5128706985c3adf
parentbd5a9a50e4946ffc58a632b5717c8cfddd3ea6ce (diff)
downloadpostgresql-b1543cc8a84bc3ca699497286608274c2533fd53.tar.gz
postgresql-b1543cc8a84bc3ca699497286608274c2533fd53.zip
Add tab completion for \pset in psql.
Pavel Stehule, reviewed by Ian Lawrence Barwick
-rw-r--r--src/bin/psql/tab-complete.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 72f4652ac25..2a0bb71d641 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3335,9 +3335,10 @@ psql_completion(char *text, int start, int end)
else if (strcmp(prev_wd, "\\pset") == 0)
{
static const char *const my_list[] =
- {"format", "border", "expanded",
- "null", "fieldsep", "tuples_only", "title", "tableattr",
- "linestyle", "pager", "recordsep", NULL};
+ {"border", "columns", "expanded", "fieldsep", "fieldsep_zero",
+ "footer", "format", "linestyle", "null", "numericlocale",
+ "pager", "recordsep", "recordsep_zero", "tableattr", "title",
+ "tuples_only", NULL};
COMPLETE_WITH_LIST_CS(my_list);
}