From: Fujii Masao Date: Tue, 19 Nov 2013 14:44:14 +0000 (+0900) Subject: Add tab completion for \pset in psql. X-Git-Tag: REL9_4_BETA1~923 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1543cc8a84bc3ca699497286608274c2533fd53;p=postgresql Add tab completion for \pset in psql. Pavel Stehule, reviewed by Ian Lawrence Barwick --- 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); }