i have a function which takes type text as input.
when i try to call the function with
select myfunc('test');
it says
Function 'myfunc(unknown)' does not exist
why does is not know that 'test' is a string? am i using the wrong quotes or what?
as a sanity check, doing
select myfunc(4);
tells me
Function 'myfunc(int4)' does not exist
which is what i'd expect.
when i try to call the function with
select myfunc('test');
it says
Function 'myfunc(unknown)' does not exist
why does is not know that 'test' is a string? am i using the wrong quotes or what?
as a sanity check, doing
select myfunc(4);
tells me
Function 'myfunc(int4)' does not exist
which is what i'd expect.