Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed
От | Peter Eisentraut |
---|---|
Тема | Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed |
Дата | |
Msg-id | d5399a23-b9b5-be64-a195-ada7fdff7afb@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed
|
Список | pgsql-hackers |
On 9/22/17 09:16, Pavel Stehule wrote: > Example: somebody set SORT_COLUMNS to schema_name value. This is > nonsense for \l command > > Now, I am thinking so more correct and practical design is based on > special mode, activated by variable > > PREFER_SIZE_SORT .. (off, asc, desc) > > This has sense for wide group of commands that can show size. And when > size is not visible, then this option is not active. Maybe this shouldn't be a variable at all. It's not like you'll set this as a global preference. You probably want it for one command only.So a per-command option might make more sense. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- 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 по дате отправления: