From e15c4ab5fb0de2cab393ed4be2136e1832746412 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Tue, 12 Aug 2014 11:57:39 +0900 Subject: Add tab-completion for \unset and valid setting values of psql variables. This commit also changes tab-completion for \set so that it displays all the special variables like COMP_KEYWORD_CASE. Previously it displayed only variables having the set values. Which was not user-friendly for those who want to set the unset variables. This commit also changes tab-completion for :variable so that only the variables having the set values are displayed. Previously even unset variables were displayed. Pavel Stehule, modified by me. --- doc/src/sgml/ref/psql-ref.sgml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 133390ab637..74d46183e51 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -2827,7 +2827,9 @@ bar they are sent to the server. The switch for this is . If set to errors then only failed queries are displayed on standard error output. The switch - for this is . + for this is . If unset, or if set to + none (or any other value than those above) then + no queries are displayed. @@ -2892,8 +2894,9 @@ bar list. If set to a value of ignoredups, lines matching the previous history line are not entered. A value of ignoreboth combines the two options. If - unset, or if set to any other value than those above, all lines - read in interactive mode are saved on the history list. + unset, or if set to none (or any other value + than those above), all lines read in interactive mode are + saved on the history list. -- cgit v1.2.3