Re: Desirability of client-side expressions in psql?
От
Fabien COELHO
Тема
Re: Desirability of client-side expressions in psql?
Дата
Msg-id
alpine.DEB.2.21.1806242155450.1087@lancre
Ответ на
Re: Desirability of client-side expressions in psql? (Pavel Stehule)
Список
Дерево обсуждения
Desirability of client-side expressions in psql? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Desirability of client-side expressions in psql? Pavel Stehule <pavel.stehule@gmail.com>
Re: Desirability of client-side expressions in psql? Pavel Stehule <pavel.stehule@gmail.com>
Re: Desirability of client-side expressions in psql? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Desirability of client-side expressions in psql? Pavel Stehule <pavel.stehule@gmail.com>
Re: Desirability of client-side expressions in psql? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Desirability of client-side expressions in psql? Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: Desirability of client-side expressions in psql? Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: Desirability of client-side expressions in psql? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Desirability of client-side expressions in psql? Stephen Frost <sfrost@snowman.net>
Re: Desirability of client-side expressions in psql? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Desirability of client-side expressions in psql? Corey Huinker <corey.huinker@gmail.com>
Re: Desirability of client-side expressions in psql? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Desirability of client-side expressions in psql? Corey Huinker <corey.huinker@gmail.com>
Re: Desirability of client-side expressions in psql? Pavel Stehule <pavel.stehule@gmail.com>
>> Note that this can already be done by relying on server-side expressions: >> >> SELECT :SERVER_VERSION_NUM >= 110000 AS "version_11_plus" \gset >> \if :version_11_plus >> ... >> \endif >> >> Not very elegant, but functional. I'm not sure there is a compelling >> reason to have this feature beyond elegance. > > not elegant, not readable, and not user friendly. Sure, I can only agree. > the possibility of simple expression evaluation is just practical. Ok. Good. I do not mind spending some time for elegance, but I mind spending time for nothing. I hope some committers will also express their views about the feature. -- Fabien.
В списке pgsql-hackers по дате отправления
От: Tomas Vondra
Дата: