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 <pavel.stehule@gmail.com>) |
| Ответы |
Re: Desirability of client-side expressions in psql?
|
| Список | pgsql-hackers |
>> 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 по дате отправления: