David Johnston <polobo@yahoo.com> writes: > Does something like: > SELECT ($1 + $2)::$1%TYPE > exist where you can explicitly cast to the type of the input argument?
I don't think SQL-language functions have such a notation, but it's possible in plpgsql, if memory serves.
No, this possibility doesn't there, what I know.
but you can do assignment to some output variable - what is effective same
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.