diff options
author | Fujii Masao <fujii@postgresql.org> | 2014-08-12 11:57:39 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2014-08-12 11:57:39 +0900 |
commit | e15c4ab5fb0de2cab393ed4be2136e1832746412 (patch) | |
tree | 4b585f80a852a5d5137a7120e981dd45d252f1cd /doc/src | |
parent | 7d835ff4db19c515171d6c8de772536c55600753 (diff) | |
download | postgresql-e15c4ab5fb0de2cab393ed4be2136e1832746412.tar.gz postgresql-e15c4ab5fb0de2cab393ed4be2136e1832746412.zip |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 9 |
1 files changed, 6 insertions, 3 deletions
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 <option>-e</option>. If set to <literal>errors</literal> then only failed queries are displayed on standard error output. The switch - for this is <option>-b</option>. + for this is <option>-b</option>. If unset, or if set to + <literal>none</literal> (or any other value than those above) then + no queries are displayed. </para> </listitem> </varlistentry> @@ -2892,8 +2894,9 @@ bar list. If set to a value of <literal>ignoredups</literal>, lines matching the previous history line are not entered. A value of <literal>ignoreboth</literal> 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 <literal>none</literal> (or any other value + than those above), all lines read in interactive mode are + saved on the history list. </para> <note> <para> |