]> granicus.if.org Git - postgresql/commitdiff
Add tab completion for pager_min_lines to psql.
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 23 Jun 2016 20:10:15 +0000 (16:10 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 23 Jun 2016 20:10:15 +0000 (16:10 -0400)
This was inadvertantly omitted from commit
7655f4ccea570d57c4d473cd66b755c03c904942. Mea culpa.

Backpatched to 9.5 where pager_min_lines was introduced.

src/bin/psql/tab-complete.c

index 8de8a3d0f9c50f93e1cf4bb0af9f1df4d98893c9..8469d9ff03deae4388569a66a128e91f6619a05e 100644 (file)
@@ -3019,8 +3019,8 @@ psql_completion(const char *text, int start, int end)
                static const char *const my_list[] =
                {"border", "columns", "expanded", "fieldsep", "fieldsep_zero",
                        "footer", "format", "linestyle", "null", "numericlocale",
-                       "pager", "recordsep", "recordsep_zero", "tableattr", "title",
-                       "tuples_only", "unicode_border_linestyle",
+                       "pager", "pager_min_lines", "recordsep", "recordsep_zero",
+                       "tableattr", "title", "tuples_only", "unicode_border_linestyle",
                "unicode_column_linestyle", "unicode_header_linestyle", NULL};
 
                COMPLETE_WITH_LIST_CS(my_list);