Add tab completion for \pset in psql.
authorFujii Masao <fujii@postgresql.org>
Tue, 19 Nov 2013 14:44:14 +0000 (23:44 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 19 Nov 2013 14:44:14 +0000 (23:44 +0900)
Pavel Stehule, reviewed by Ian Lawrence Barwick

src/bin/psql/tab-complete.c

index 72f4652ac257f4578c730125cd28ed198ef746f9..2a0bb71d641ad3fdd5026ff35decbaf529985507 100644 (file)
@@ -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);
    }