Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed
Date
Msg-id CAFj8pRAiVcQzj+LFTuDV=PsM+r09imsH8zHveKAu4StE=mo5UQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed
List pgsql-hackers


2017-09-21 10:19 GMT+02:00 Alexander Korotkov <a.korotkov@postgrespro.ru>:
On Thu, Sep 21, 2017 at 1:53 AM, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
On 9/8/17 00:13, Pavel Stehule wrote:
>     I am sending rebased patch
>
> rebased again + fix obsolete help

Why are the variables called VERBOSE_SORT_* ?  What is verbose about them?

I assume Pavel called them so, because they are working only for "verbose" mode of command.  I.e. they are working for \dt+ not \dt.
However, in \dt 2 of 3 sorting modes might work: schema_name and name_schema.  Thus, I think it worths enabling these variables for "non verbose" mode of commands too.

yes. It was designed for + commands only. Can be enhanced to all commands - then VERBOSE prefix should be removed - not sure if it is necessary. For me interesting different order than default is only in verbose mode.





------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company 

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization
Next
From: Alexander Korotkov
Date:
Subject: Re: [HACKERS] compress method for spgist - 2