Re: psql: new help related to variables are not too readable

From: Erik Rijkers <er(at)xs4all(dot)nl>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers-owner(at)postgresql(dot)org
Subject: Re: psql: new help related to variables are not too readable
Date: 2017-09-08 04:36:47
Message-ID: 78fd33e03c1ae1db47975f6ba7c7a841@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2017-09-08 04:57:18 Re: psql: new help related to variables are not too readable
Previous Message Pavel Stehule 2017-09-08 04:13:47 Re: Re: proposal - psql: possibility to specify sort for describe commands, when size is printed