Value expressions specified in a function argument will be converted to the data type of that function argument.
See
Refer to "Functions and Operators" under "The SQL Language" in the PostgreSQL Documentation for information on data types that can be specified in function arguments.