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
обсуждение исходный текст
Ответ на Re: Desirability of client-side expressions in psql?  (Corey Huinker <corey.huinker@gmail.com>)
Ответы Re: Desirability of client-side expressions in psql?  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers
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
Дата:
Сообщение: Re: Optimze usage of immutable functions as relation
Следующее
От: Tom Lane
Дата:
Сообщение: CVE-2017-7484-induced bugs, or, btree cmp functions are not leakproof?