From b1543cc8a84bc3ca699497286608274c2533fd53 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Tue, 19 Nov 2013 23:44:14 +0900 Subject: [PATCH] Add tab completion for \pset in psql. Pavel Stehule, reviewed by Ian Lawrence Barwick --- src/bin/psql/tab-complete.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 72f4652ac2..2a0bb71d64 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); } -- 2.40.0