Does postgres have a function to determine the data type of an
argument? I'm looking for something analogous to PHP's gettype
function. I had a look through the documentation and did a few likely
pattern searches with \df. Nothing came up.
Apologies in advance if the answer is obvious.
Cheers
BJ