Re: Desirability of client-side expressions in psql?

Поиск
Список
Период
Сортировка
Искать
От
Fabien COELHO
Тема
Re: Desirability of client-side expressions in psql?
Дата
Msg-id
alpine.DEB.2.21.1807102326450.29162@lancre
Ответ на
Список
Дерево обсуждения
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>

Hello Corey,

>>    psql> \if :i >= 5
>>
> I think we're ok with that so long as none of the operators or values has a
> \ in it.
> What barriers do you see to re-using the pgbench grammar?

The pgbench expression grammar mimics SQL expression grammar,
on integers, floats, booleans & NULL.

I'm unsure about some special cases in psql (`shell command`,
'text' "identifier"). They can be forbidden on a new commande (\let),
but what happens on "\if ..." which I am afraid allows them is unclear.

-- 
Fabien.

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ