Re: [HACKERS] psql: new help related to variables are not tooreadable - Mailing list pgsql-hackers

From Erik Rijkers
Subject Re: [HACKERS] psql: new help related to variables are not tooreadable
Date
Msg-id 78fd33e03c1ae1db47975f6ba7c7a841@xs4all.nl
Whole thread Raw
In response to [HACKERS] psql: new help related to variables are not too readable  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] psql: new help related to variables are not too readable
List pgsql-hackers
On 2017-09-08 06:09, Pavel Stehule wrote:
> Hi
> 
> Now the output looks like:
> 
>   AUTOCOMMIT
>     if set, successful SQL commands are automatically committed
>   COMP_KEYWORD_CASE
>     determines the case used to complete SQL key words
>     [lower, upper, preserve-lower, preserve-upper]
>   DBNAME
>     the currently connected database name
[...]
> What do you think about using new line between entries in this format?
> 
>   AUTOCOMMIT
>     if set, successful SQL commands are automatically committed
> 
>   COMP_KEYWORD_CASE
>     determines the case used to complete SQL key words
>     [lower, upper, preserve-lower, preserve-upper]
> 
>   DBNAME
>     the currently connected database name
> 

I dislike it, it takes more screen space and leads to unneccessary 
scroll-need.

The 9.6.5 formatting is/was:
  AUTOCOMMIT         if set, successful SQL commands are automatically 
committed  COMP_KEYWORD_CASE  determines the case used to complete SQL key words                     [lower, upper,
preserve-lower,preserve-upper]  DBNAME             the currently connected database name
 
[...]  PGPASSWORD         connection password (not recommended)  PGPASSFILE         password file name  PSQL_EDITOR,
EDITOR,VISUAL                     editor used by the \e, \ef, and \ev commands  PSQL_EDITOR_LINENUMBER_ARG
      how to specify a line number when invoking the 
 
editor  PSQL_HISTORY       alternative location for the command history file

I would prefer to revert to that more compact 9.6-formatting.


Erik Rijkers


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] psql: new help related to variables are not too readable