Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed
От
Alexander Korotkov
Тема
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed
Дата
Msg-id
CAPpHfdsY=9ZM6YpE-kSgY4EdX8g3yOb8dN=fOyktaq1ttBHYnw@mail.gmail.com
Ответ на
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed (Pavel Stehule)
Список
Дерево обсуждения
[HACKERS] proposal - psql: possibility to specify sort for describe commands,when size is printed Pavel Stehule <pavel.stehule@gmail.com>
[HACKERS] Re: proposal - psql: possibility to specify sort for describecommands, 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 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Stephen Frost <sfrost@snowman.net>
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 Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: 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 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Peter Eisentraut <peter.eisentraut@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 Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Andres Freund <andres@anarazel.de>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Peter Eisentraut <peter.eisentraut@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 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Alexander Korotkov <a.korotkov@postgrespro.ru>
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 Peter Eisentraut <peter.eisentraut@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 Peter Eisentraut <peter.eisentraut@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 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Peter Eisentraut <peter.eisentraut@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 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Dean Rasheed <dean.a.rasheed@gmail.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Alexander Korotkov <a.korotkov@postgrespro.ru>
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 Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Alexander Korotkov <a.korotkov@postgrespro.ru>
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 Alexander Korotkov <a.korotkov@postgrespro.ru>
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 Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Alexander Korotkov <a.korotkov@postgrespro.ru>
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 Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed Alexander Korotkov <a.korotkov@postgrespro.ru>
[HACKERS] Re: proposal - psql: possibility to specify sort for describecommands, when size is printed David Steele <david@pgmasters.net>
Hi!
On Mon, Nov 27, 2017 at 10:18 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
I though about this design more time. I see following disadvantages1. we are not able to check all possible variants of extended query. If there will be some custom error, then we will raise pretty ugly error messages,
Yes, that's an inevitable shortcoming. psql is not backend and can't perform all the required checks on its side...
2. I don't thing so using "Size" as table size in human readable format and "size" as table size in raw format is intuitive, but any change of "Size" can introduce some (less probability compatibility issues),
Oh, this is surprisingly hard problem which probably have only imperative solution...
3. What queries will contains size calculations? It is not cheap - requires AccessShareLock
Sorry, I didn't understand this point. Yes, size calculation requires locking, but that is already true for \dt+ and \l+. Why this is disadvantage of proposed approach?
The Russian Postgres Company
В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Alexander Korotkov
Дата: