I have the floowing function signature in PostgreSQL:
func1(plist integer[])
i want to send this function an intager variable.
basicly make a call:
select * from func1(var_integer)
How can I do that?
It expect integer[] not integer. Is there some sort of conversion?
Edit:
when I do:
select * from func1(var_integer::integer[])
I get:
cannot cast type integer to integer[]